CapSetFrame()

Description

Sets the values of the specified frame.

Syntax

.CapSetFrame(index, left, top, right, bottom);

Parameters

<short> index: specifies which frame to set. The index is 0-based.
<float> left: specifies the value (in Unit) of the left edge of the specified frame.
<float> top: specifies the value (in Unit) of the top edge of the specified frame.
<float> right: specifies the value (in Unit) of the right edge of the specified frame.
<float> bottom: specifies the value (in Unit) of the bottom edge of the specified frame.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Remarks

The default Unit is assumed to be "inches" unless it has been otherwise negotiated between the application and
Data Source.

See also

How to Negotiate Capability with Different Capability Container Types
CapGetFrameLeft()
CapGetFrameTop()
CapGetFrameRight()
CapGetFrameBottom()