LONG PDFPAGE_GetColorSpace () |
{ PDF object is supposed to be created } PDF.BeginDoc; profile := PDF.LoadICCProfile('EuropeISOCoatedFOGRA27.icc'); PDF.PDFPAGE_SetColorSpace(profile); retrieved := PDF.PDFPAGE_GetColorSpace(); { retrieved should be equal to profile } PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); LONG profile = PDF->LoadICCProfile("EuropeISOCoatedFOGRA27.icc"); PDF->PDFPAGE_SetColorSpace(profile); LONG retrieved = PDF->PDFPAGE_GetColorSpace(); // retrieved should be equal to profile PDF.EndDoc;
PDF.BeginDoc(); long profile = PDF.LoadICCProfile("EuropeISOCoatedFOGRA27.icc"); PDF.PDFPAGE_SetColorSpace(profile); long retrieved = PDF.PDFPAGE_GetColorSpace(); // retrieved should be equal to profile PDF.EndDoc;
PDF.BeginDoc profile = PDF.LoadICCProfile("EuropeISOCoatedFOGRA27.icc") PDF.PDFPAGE_SetColorSpace profile retrieved = PDF.PDFPAGE_GetColorSpace() ' retrieved should be equal to profile PDF.EndDoc