AnnSetBitmapDpiY method (ILEADRasterAnnotation)
short AnnSetBitmapDpiY(long hObject, float fBitmapDpiY, 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 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. 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