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 Class

The base class for classes that implement GDI-based canvas in DevExpress controls.

#Declaration

Delphi
TcxGdiBasedCanvas = class(
    TcxCustomGdiBasedCanvas
)

#Remarks

This class implements multiple inherited abstract methods and extends its ancestor with the following members that allow you to:

  • Access a handle to the device context of the GDI-based canvas (Handle).

  • Obtain the initial and current origin points of the device context (BaseOrigin and DCOrigin).

  • Specify a position of the viewport origin (ViewportOrg).

  • Exclude a specified rectangle from the clip region (ExcludeClipRect).

Refer to the TcxCustomCanvas class description for detailed information on a common canvas API.

Do not use the TcxGdiBasedCanvas class directly. Use its descendants instead.

See Also