Reference Guide
GdPicture14 Namespace / GdPictureDocumentConverter Class / EnableICC Property

In This Topic
    EnableICC Property (GdPictureDocumentConverter)
    In This Topic
    Specifies if the converter shall favor to preserve ICC profile, if present in the loaded document, durring the conversion.
    Public Property EnableICC As Boolean
    public bool EnableICC {get; set;}
    public read-write property EnableICC: Boolean; 
    public function get,set EnableICC : boolean
    public: __property bool get_EnableICC();
    public: __property void set_EnableICC( 
       bool value
    property bool EnableICC {
       bool get();
       void set (    bool value);

    Property Value

    The default value is true.
    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
    using (GdPictureDocumentConverter gdpictureDocumentConverter gdpictureDocumentConverter = new GdPictureDocumentConverter())
        gdpictureDocumentConverter.LoadFromFile("input.jpg", GdPicture14.DocumentFormat.DocumentFormatJPEG);
        gdpictureDocumentConverter.EnableICC = true;
        gdpictureDocumentConverter.SaveAsPDF("output.pdf", PdfConformance.PDF1_7);
    See Also