ImageGear Professional for Windows ActiveX
MakeColorSeparations Method

Description:

Separates pages' DeviceN colorants into individual layers. The result page is inserted in Doc after the page with index AfterPage.

Syntax:

Sub MakeColorSeparations(ColorChannels As IGPDFAtomArray,
Doc As IGPDFDoc, AfterPage As Long)

Parameters:

Name Description
ColorChannels Atom array containing the colorant names to separate. Example: "C", "M", "Y", "K", "PANTONE 300 C", etc.
Doc Output PDF document
AfterPage The page number in the output PDF document after which the result page is inserted.

Return Value:

None

Example:

'Create a temp atom
Dim temp_atom As IGPDFAtom
Set temp_atom = frmMain.IGPDFCtl1.CreateObject(IG_PDF_ATOM)
'Create 2 items array
Dim ColorChannels As IGPDFAtomArray
Set ColorChannels =
frmMain.IGPDFCtl1.CreateObject(IG_PDF_ATOMARRAY)
ColorChannels.Resize(2)
'Set K channel
temp_atom.String = "K"
ColorChannels.Item(0) = temp_atom
'Set C channel
temp_atom.String = "C"
ColorChannels.Item(1) = temp_atom
curPDFPage.MakeColorSeparations ColorChannels, curPDFDoc,
curDoc.PageCount - 1

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback