Image.GetBounds

Image.GetBounds method

Gets the bounds of the image in the specified unit.

public RectangleF GetBounds(ref GraphicsUnit pageUnit)
ParameterTypeDescription
pageUnitGraphicsUnit&One of the GraphicsUnit values indicating the unit of measure for the bounding rectangle.

Return Value

The RectangleF that represents the bounds of the image, in the specified unit.

See Also