Previous Document Next Document

Object Model Reference : Classes : T : TrapLayer : Properties : TrapLayer.Density


TrapLayer.Density

Property Density As Double

Description

Member of TrapLayer

The Density property returns or specifies the neutral density of a color.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.