Skip to main content

TcxGdiBasedCanvas.DCOrigin Property

Returns the current origin of the device context.

Declaration

property DCOrigin: 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 DCOrigin property to obtain the current device context origin of the canvas. To obtain the initial origin of the device coordinate space, use the BaseOrigin property instead.

Note

The TcxCanvas class uses the DCOrigin property value to calculate clip regions.

See Also