GraphicsResolution Property

Microsoft Publisher Visual Basic

Show All Show All

GraphicsResolution Property

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

PbPrintGraphics can be one of these PbPrintGraphics constants.
pbPrintHighResolution Default. Print linked graphics using the full-resolution linked version.
pbPrintLowResolution Print linked graphics using the low-resolution placeholder version that is stored in the publication.
pbPrintGraphicsNoGraphics Print a box in place of linked graphics.

expression.GraphicsResolution()

expression    Required. An expression that returns an AdvancedPrintOptions object.

Remarks

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

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.

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