GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureDocumentConverter Class / EnableICC Property
Example





In This Topic
EnableICC Property (GdPictureDocumentConverter)
In This Topic
Specifies if the ICC profile should be preserved during the conversion if it's present in the loaded document.
Syntax
'Declaration
 
Public Property EnableICC As Boolean
 

Property Value

The default value is true.
Example
Enable ICC profile durring the conversion.
Using gdpictureDocumentConverter As New GdPictureDocumentConverter()
    gdpictureDocumentConverter.LoadFromFile("input.jpg", GdPicture14.DocumentFormat.DocumentFormatJPEG)
    gdpictureDocumentConverter.EnableICC = True
    gdpictureDocumentConverter.SaveAsPDF("output.pdf", PdfConformance.PDF1_7)
End Using
See Also