SetPDFXOutputIntent
IPDFDocument4 :: General document management :: Common

See Also
Collapse All

This method set the specified ICC profile as the PDF/X compatible output intent of a PDF document.

Syntax

HRESULT SetPDFXOutputIntent (
LONG intentNumber
)
Parameters
intentNumber
Handle of the profile

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

SetPDFXOutputIntent creates an PDF/X compatible output intent from the specified ICC profile and sets it as the current intent.

You can retrieve the index of the profile using the AddColorSpace method.

Note: Calling this method with any valid parameter will force theĀ output file format version to be 1.4. See compatibility for more details.

See Also

Reference