EnableICC Property (GdPictureDocumentConverter)
Specifies if the ICC profile should be preserved during the conversion if it's present in the loaded document.
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
);
public:
property bool EnableICC {
bool get();
void set ( bool value);
}
'Declaration
Public Property EnableICC As Boolean
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);
}