Luminance Property
From Microsoft Publisher Visual Basic
expression.Luminance
expression Required. An expression that returns one of the objects in the Applies To list.
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