Skip to main content

TcxGdiBasedCanvas Class

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

Declaration

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