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

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

    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