Object Model Reference : Classes : T : TrapLayer : Properties : TrapLayer.Density |
Property Density As Double
Member of TrapLayer
The Density property returns or specifies the neutral density of a color.
The following VBA example displays the density of the yellow plate.
Sub Test() |
Dim intCounter As Integer |
With ActiveDocument.PrintSettings.Trapping |
For intCounter = 1 To .Layers.Count - 1 |
If .Layers.Item(intCounter).Color = "Yellow" Then |
MsgBox "The density of the yellow plate is " & _ |
.Layers.Item(intCounter).Density |
End If |
Next intCounter |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.