AnnSetOffsetX method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetOffsetX (HANNOBJECT hObject, double dOffsetX, bool bSelected);

Delphi Syntax

Function AnnSetOffsetX (hObject: HANNOBJECT; dOffsetX: L_DOUBLE; bSelected: Boolean ): L_INT;

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.

See Also

Elements

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

Topics

Annotations (Document/Medical only): Automation

 

Fixed Annotations