AnnSetBitmapDpiX method (Annotation Control)
Builder Syntax |
int AnnSetBitmapDpiX(HANNOBJECT hObject, double dBitmapDpiX, bool bSelected); |
Delphi Syntax |
Function AnnSetBitmapDpiX(hObject: HANNOBJECT; dBitmapDpiX: L_DOUBLE; bSelected: Boolean): L_INT; |
Overview |
Refer to Altering Annotation Object Settings. |
Remarks
(Document/Medical only) Sets the horizontal Bitmap DPI (dots per inch) value that is used to translate the horizontal 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 X resolution, found in the BitmapXRes property. This method should be called when loading objects or pasting them from the clipboard to containers other than the Main Control's container, which can be accessed through the AnnContainer property. Otherwise, the distances shown by the ruler objects will not be accurate.
See Also