ColorManagement Xojo Plugin |

# ICCColorProfile.ApplyColorProfileToPDFDocument Method (console safe)

Applies the color profile to EinhugurPDFWriter.PDFDocument class.

ApplyColorProfileToPDFDocument(
document as Object)

#### Parameters

document
  document of type EinhugurPDFWriter.PDFDocument. (Signature here is object to not create cross dependencies but it will be internally checked if it is actually EinhugurPDFWriter.PDFDocument or not that you pass to it)

#### Remarks

Do not try to apply the profile to older version than 1.4 of the Einhugur PDF Plugin, doing so on older version would be sure way to cause crash.

#### See Also

ICCColorProfile Class