ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Document Assembly / GrapeCity.ActiveReports.Document.Section Namespace / ResourcedCanvasItem Class / ConvertImageData Method
Allowed image formats for conversion.
Specifies whether to rotate the image according to the EXIF orientation.

In This Topic
    ConvertImageData Method
    In This Topic
    Converts image to one of allowed image format if needed.
    Syntax
    'Declaration
     
    Public Function ConvertImageData( _
       ByVal allowedFormats() As ImageFormat, _
       ByVal fixRotation As Boolean _
    ) As ImageData
    public ImageData ConvertImageData( 
       ImageFormat[] allowedFormats,
       bool fixRotation
    )

    Parameters

    allowedFormats
    Allowed image formats for conversion.
    fixRotation
    Specifies whether to rotate the image according to the EXIF orientation.

    Return Value

    The ImageData struct which contains the data stream from which the image can be loaded and the format of the image.
    See Also