SetPDFAOutputIntent
IPDFDocument4 :: General document management :: Common

See Also
Collapse All

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

Syntax

HRESULT SetPDFAOutputIntent (
LONG intentNumber
)
Parameters
intentNumber
Handle of a profile

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

Remarks

SetPDFAOutputIntent creates an PDF/A 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