TcxGdiBasedCanvas.BaseOrigin Property
Returns the initial origin of the device context.
Declaration
property BaseOrigin: TPoint read;
Property Value
Type |
---|
TPoint |
Remarks
The origin of the device coordinate space can change at runtime to “scroll” the canvas in relation to the window origin (in a logical coordinate space). Use the BaseOrigin property to identify the device context origin for the canvas when it was created. To obtain the current device context origin, use the DCOrigin property instead.
Note
The getter and setter implementations of the WindowOrg property in the TcxGdiBasedCanvas class use the BaseOrigin property value to calculate the viewport origin of the canvas.
See Also