Click or drag to resize

IMcGraphObjBitmapNaturalSize Property

The natural X.Y size of the bitmap.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property NaturalSize As Object
	Get

Property Value

Type: Object
Remarks
The "natural" size may differ from the size reported by McGraphObjBitmap.GetSize in that it is the size that requires no scaling when displayed on an unzoomed viewer. This size will be the same as the DestXYSize argument to the SetBitmap call that supplied the bitmap data. After a call to SetBitmap (or SetBitmapFromClipboard), the NaturalSize and the size reported by getsize are the same. If the McGraphObjBitmap size is subsequently changed by moving one of its handles, the size of the underlying bitmap, and thus the NaturalSize, is not changed while the size reported by GetSize will reflect the new display size of the bitmap. This property is exposed as a LONGPOINT structure, where the X element is the natural width of the bitmap and the Y element is the natural height of the bitmap. The width and height are reported as zero if no bitmap has been assigned by calling SetBitmap (or SetBitmapFromClipboard).
See Also