AnnSetScalarX method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetScalarX(long hObject, float fScalarX, VARIANT_BOOL bSelected);

Overview

Refer to Low-Level Coordinate System for Annotations.

Remarks

(Document/Medical only) Sets the horizontal scaling factor that is applied to the annotation object. Typically, the scaling factors are applied to a root container so that the annotations will match the displayed image.

Offset values, which are set by the AnnSetOffsetX and AnnSetOffsetY methods, are applied after the scalar properties. 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

AnnAlpha property, AnnAutoSnapCursor property, AnnCalibrateRuler method, AnnFillMode property, AnnGetFillModeExt method, AnnGetOptions method, AnnGetRotateOptions method, AnnGetTextOptions method, AnnSetFillModeExt method, AnnSetOptions method, AnnSetRotateOptions method, AnnSetTextOptions method, AnnShowBorder property, AnnShowRotateHandles property, AnnShowText property, AnnTextColor property, AnnTextEdit method, AnnSetScalarY method, AnnGetScalarX method, AnnGetScalarY method, AnnSetOffsetX method, AnnSetOffsetY method, AnnGetOffsetY method, AnnGetOffsetX method, AnnFixed property, AnnPushFixedState method, AnnPopFixedState method, AnnIsFixedRect property

Topics

Annotations (Document/Medical only): Autoamtion

 

Fixed Annotations