AdvancedPrintOptions.GraphicsResolution Property

Publisher Developer Reference

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 a 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 Office Publisher type library.

Example

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

Visual Basic for Applications
  Sub PrintGraphicAsBoxes
	With ActiveDocument.AdvancedPrintOptions
		If .GraphicsResolution <> pbPrintNoGraphics Then
		.GraphicsResolution = pbPrintNoGraphics
		End If
	End With
End Sub

See Also