[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ConvertImageData

ConvertImageData Method

ConvertImageData(ImageFormat[], bool)

Converts image to one of allowed image format if needed.

Declaration
public ImageData ConvertImageData(ImageFormat[] allowedFormats, bool fixRotation)
Parameters
Type Name Description
ImageFormat[] allowedFormats

Allowed image formats for conversion.

bool fixRotation

Specifies whether to rotate the image according to the EXIF orientation.

Returns
Type Description
ImageData

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