AdvancedPrintOptions.GraphicsResolution property (Publisher)

Returns or sets a PbPrintGraphics constant representing the resolution at which the inserted graphics are to be printed in the specified publication. Read/write.

Syntax

expression.GraphicsResolution

expression A variable that represents an AdvancedPrintOptions object.

Return value

PbPrintGraphics

Remarks

Setting this property only affects inserted pictures (whether linked or embedded), and clip art. Autoshapes and border art will always be printed.

Printing boxes in place of graphics is useful when printing a quick proof of the layout that only shows the positioning of pictures.

This property corresponds to the Graphics controls on the Graphics and Fonts tab of the Advanced Print Settings dialog box.

The GraphicsResolution property value can be one of the PbPrintGraphics constants declared in the Microsoft Publisher type library.

Example

The following example sets the graphics to print as boxes in the active publication.

Sub PrintGraphicAsBoxes 
 With ActiveDocument.AdvancedPrintOptions 
 If .GraphicsResolution <> pbPrintNoGraphics Then 
 .GraphicsResolution = pbPrintNoGraphics 
 End If 
 End With 
End Sub

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.