Method GetRectRegion
GetRectRegion(SelectionType, Rectangle, bool, bool)
Returns region corresponding to given rectangle.
public virtual Region GetRectRegion(SelectionType selectionType, Rectangle rect, bool topLeftEnd, bool bottomRightEnd)
Parameters
selectionType
SelectionTypeSpecifies selection type.
rect
RectangleRectangle to check.
topLeftEnd
boolBoolean value indicating if the region's topleft corner should be calculated taking into account end of the wrapped line.
bottomRightEnd
boolBoolean value indicating if the region's bottomright corner should be calculated taking into account end of the wrapped line.
Returns
- Region
Region corresponding to given rectangle.
GetRectRegion(Rectangle)
Returns region corresponding to given rectangle.
public virtual Region GetRectRegion(Rectangle rect)
Parameters
rect
RectangleRectangle to check.
Returns
- Region
Region corresponding to given rectangle.