AnnSetBitmapDpiX method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetBitmapDpiX(long hObject, float fBitmapDpix, VARIANT_BOOL bSelected);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the horizontal Bitmap DPI (dots per inch) value that is used to translate the horizontal distance for the Ruler object.

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

Only Automation and Ruler objects are affected. Refer to AnnAutomation property.

Set this value to the bitmap’s XResolution. This method should be called when loading objects or pasting them from the clipboard to containers other than the Main Control's AnnContainer. Otherwise, the distances shown by the ruler objects will not be accurate.

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

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, AnnGetUnit method, AnnSetGaugeLength method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetBitmapDpiY method, AnnSetUnit method, AnnGetDistance method, AnnGetGaugeLength method, AnnTicMarkLength property

Topics

Annotations (Document/Medical only): Bitmap

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects