SetColorSpace
IPDFDocument4 :: Page Operations :: Common

See Also
Collapse All

This method sets the specified ICC profile as the current color mapping profile for all stroke and fill operations.

Syntax

HRESULT SetColorSpace (
LONG colorspaceNumber
)
Parameters
colorspaceNumber
Number of the color space

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

Remarks

The value for parameter colorspaceNumber can be retrieved from the AddColorSpace method.

See the SetColorSpaceType method for examples.

See Also

Reference