UseCustomHalftone Property

Microsoft Publisher Visual Basic

UseCustomHalftone Property

Returns or sets a Boolean that represents whether to use custom halftone settings. True to be able to specify custom halftone settings for any printable plate. False to use Publisher's default settings for all printable plates. Read/write.

expression.UseCustomHalftone

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the UseCustomHalftone property to be able to set the Angle and Frequency properties of any PrintablePlate object in a publication's PrintablePlates collection.

The property corresponds to the Use Publisher defaults and Use custom settings options on the Separations tab of the Advanced Print Settings dialog box.

Example

This example sets the spot color plates (plates five and higher) of a process and spot color publication to the same custom angle and frequency. The example assumes that the publication's color mode has been specified as process and spot colors, and the publication's print mode has been specified as separations.

    Sub SetSpotColorPlatesProperties()

ActiveDocument.AdvancedPrintOptions.UseCustomHalftone = True

Dim intCount As Integer

With ActiveDocument.AdvancedPrintOptions.PrintablePlates
    For intCount = 5 To .Count
        With .Item(intCount)
            .Angle = 45
            .Frequency = 150
        End With
    Next
End With

End Sub