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

TcxRegionOperation Enum

Enumerates combine operations applicable to window regions.

#Declaration

Delphi
TcxRegionOperation = (
    roSet,
    roAdd,
    roSubtract,
    roIntersect
);

#Members

Name
roSet
roAdd
roSubtract
roIntersect

#Remarks

Options include:

Value Description
roSet Replaces the current region with a specified source region. This value maps to the RGN_COPY constant.
roAdd Joins two window regions. This value maps to the RGN_OR constant.
roSubtract Shrinks the current window region down to a difference between the current and source regions. This value maps to the RGN_DIFF constant.
roIntersect Shrinks the current window region down to an intersection between the current and source regions. This value maps to the RGN_ADD constant.

The TcxCanvas.SetClipRegion and TcxRegion.Combine procedures accept a TcxRegionOperation value.

See Also