[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Image.ImageHelper.GetDimensions

GetDimensions Method

GetDimensions(Stream)

Gets the dimensions of an BMP, PNG, JPEG or GIF image.

Declaration
public static SizeF GetDimensions(Stream image)
Parameters
Type Name Description
Stream image

The image to get the dimensions of.

Returns
Type Description
SizeF

The dimensions (in twips) of the specified image.

Exceptions
Type Condition
NotSupportedException

The image was of an unrecognized format.