AnnSetBitmapDpiY method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetBitmapDpiY(HANNOBJECT hObject, double dBitmapDpiY, bool bSelected);

Delphi Syntax

Function AnnSetBitmapDpiY(hObject: HANNOBJECT; dBitmapDpiY: L_DOUBLE; bSelected: Boolean): L_INT;

Overview

Refer to Altering Annotation Object Settings.

Remarks

(Document/Medical only) Sets the vertical Bitmap DPI (dots per inch) value that is used to translate the vertical distance for an automation object or a ruler object.

Only Automation and Ruler objects are affected. For more information on automation objects, refer to Annotation Automation Object. For more information on ruler objects, refer to Ruler Annotation Object.

Set this value to the bitmap’s Y resolution, found in the BitmapYRes property. This method should be called when loading objects or pasting them from the clipboard to containers other than the Main Control's container object, which can be accessed through the AnnContainer property. Otherwise, the distances shown by the ruler objects will not be accurate.

See Also

Elements:

AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetUnit method, AnnGetUnit method, AnnGetDistance method, AnnSetGaugeLength method, AnnGetGaugeLength method, AnnTicMarkLength property

Topics:

Annotation Functions (Document/Medical only): Getting and Setting the Ruler Properties

 

New Annotation Features of Version 14.5