ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Image Namespace / ImageHelper Class / GetDimensions(Stream) Method
The image to get the dimensions of.

GetDimensions(Stream) Method
Gets the dimensions of an BMP, PNG, JPEG or GIF image.
Syntax
'Declaration
 
Public Shared Function GetDimensions( _
   ByVal image As Stream _
) As SizeF
 

Parameters

image
The image to get the dimensions of.

Return Value

The dimensions (in twips) of the specified image.
Exceptions
ExceptionDescription
The image was of an unrecognized format.
See Also