AnnSetBitmapDpiY method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetBitmapDpiY(OLE_HANDLE hObject, float fBitmapDpiY, BOOL bSelected);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the vertical Bitmap DPI (dots per inch) value that is used to translate the vertical 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. For more information, refer to Annotation Automation Object and Ruler Annotation Object.

Set this value to the bitmap’s YResolution. 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.

See Also

Elements:  AnnGetUnit method, AnnSetGaugeLength method, AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetUnit method, AnnGetDistance method, AnnGetGaugeLength method

Topics:  Annotations (Document/Medical only): Object Manipulation