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.BaseOrigin Property

Returns the initial origin of the device context.

#Declaration

Delphi
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