AnnSetBitmapDpiX method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetBitmapDpiX(OLE_HANDLE hObject, float fBitmapDpix, 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 or Annotation Automation 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 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.

See Also

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

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