AnnSetOffsetX method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetOffsetX(long hObject, float OffsetX, VARIANT_BOOL bSelected);

Overview

Refer to Low-Level Coordinate System for Annotations.

Remarks

(Document/Medical only) Sets the X offset of the annotation object. Typically, this value is used to match the root container's offset to the offset of the associated bitmap's display rectangle.

The offset values are applied after the scalar properties, which are set by the AnnSetScalarX and AnnSetScalarY methods. For more information, refer to Low-Level Coordinate System for Annotations.

The value of the AnnContainer property cannot be passed for the hObject parameter.

If the value of the AnnContainer property is passed as the hObject parameter, the method will modify all the annotations in the container depending on the value of bSelected parameter.

If the value of the AnnAutomation property is passed as the hObject parameter, the method will modify the default values used whenever an annotation is created.

See Also

Elements:

AnnSetScalarX method, AnnSetScalarY method, AnnGetScalarX method, AnnGetScalarY method, AnnSetOffsetY method, AnnGetOffsetY method, AnnGetOffsetX method, AnnFixed property, AnnPushFixedState method, AnnPopFixedState method, AnnIsFixedRect property

Topics:

Annotations (Document/Medical only): Automation

 

Fixed Annotations