Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGdiBasedCanvas.DCOrigin Property

Returns the current origin of the device context.

#Declaration

Delphi
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