PrintCenteredH property

Microsoft Visio Developer Reference

PrintCenteredH property

   Example   

Indicates whether drawings are centered between the left and right edges of the paper when printed.

Version added

4.0

Syntax

boolRet = object.PrintCenteredH
object.PrintCenteredH = boolValue

boolRet

Boolean. True if the document will center drawings horizontally when printing; otherwise, False.

object

Required. An expression that returns a Document object.

boolValue

Required Boolean. True to center drawings horizontally when printing; otherwise, False.

Remarks

The PrintCenteredH property corresponds to the Center horizontally check box in the Print Setup dialog box (click Page Setup on the File menu, and then click Setup on the Print Setup tab).