Previous Document Next Document

Object Model Reference : Classes : P : PrintSeparations : Properties : PrintSeparations.InColor


PrintSeparations.InColor

Property InColor As Boolean

Description

Member of PrintSeparations

The InColor property determines whether separations are printed in color.

VBA example

The following VBA example iterates through the SystemPrinters collection until it finds the specified printer. It then enables color separations and displays the Print dialog box.

Sub Test()
 Dim prn As Printer
 Dim intCounter As Integer
 For intCounter = 1 To Printers.Count
  Set prn = Printers.Item(intCounter)
   If prn.ColorEnabled Then
    Exit For
   End If
 Next intCounter
 With ActiveDocument
  With .PrintSettings
   Set .Printer = prn
   .Separations.Enabled = True
   .Separations.InColor = True
   .ShowDialog
  End With
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.