Region.GetBounds

Region.GetBounds method

Gets a RectangleF structure that represents a rectangle that bounds this Region on the drawing surface of a Graphics object.

public RectangleF GetBounds(Graphics g)
ParameterTypeDescription
gGraphicsThe Graphics on which this Region is drawn.

Return Value

A RectangleF structure that represents the bounding rectangle for this Region on the specified drawing surface.

See Also