



Collapse All
Syntax| LONG LoadICCProfile ( BSTR iccFileName ) |
RemarksLoadICCProfile loads an ICC profile from a file with iccFileName into PDF document and returns the index of the profile. This index can be used later with color-related methods. Supported ICC profile types: RGB, CMYK.
The returned value can be used in PDFPAGE_SetColorSpace.
Equivalent in new interface: IPDFDocument4::AddColorSpace.
Example{ PDF object is supposed to be created }
PDF.BeginDoc;
profile := PDF.LoadICCProfile('AdobeRGB1998.icc');
PDF.SetPDFAOutputIntent(profile);
PDF.EndDoc;
// PDF object is supposed to be created
PDF->BeginDoc();
LONG profile = PDF->LoadICCProfile("AdobeRGB1998.icc");
PDF->SetPDFAOutputIntent(profile);
PDF->EndDoc();
// PDF object is supposed to be created
PDF.BeginDoc();
long profile = PDF.LoadICCProfile("AdobeRGB1998.icc");
PDF.SetPDFAOutputIntent(profile);
PDF.EndDoc();
' PDF object is supposed to be created
PDF.BeginDoc
profile = PDF.LoadICCProfile("AdobeRGB1998.icc")
PDF.SetPDFAOutputIntent profile
PDF.EndDoc
See Also