Plate.Luminance property (Publisher)

Returns or sets a Long indicating a calculated luminance value for the specified plate; used for spot-color trapping. Valid values are from 0 to 100. Read/write.

Syntax

expression.Luminance

expression A variable that represents a Plate object.

Return value

Long

Remarks

This property is valid only for publications with a ColorMode property value of pbColorModeSpot or for spot plates in a publication with a ColorMode property value of pbColorModeSpotAndProcess.

Example

The following example loops through all the spot-color plates in a publication and reports their luminance values.

Dim plaTemp As Plates 
Dim plaLoop As Plate 
 
Set plaTemp = ActiveDocument.Plates 
 
If ActiveDocument.ColorMode <> pbColorModeSpot And _ 
 ActiveDocument.ColorMode <> pbColorModeSpotAndProcess Then 
 Debug.Print "No spot colors in this publication." 
Else 
 For Each plaLoop In plaTemp 
 With plaLoop 
 Debug.Print "Plate " & .Name _ 
 & " has a luminance of " & .Luminance 
 End With 
 Next plaLoop 
End If

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.