PrintLandscape property

Microsoft Visio Developer Reference

PrintLandscape property

See also   Example   

Indicates whether a document's drawings print in landscape or portrait orientation.

Version added

4.0

Syntax

boolRet = object.PrintLandscape
object.PrintLandscape = boolValue

boolRet

Boolean. True if the document will print drawings in landscape orientation; otherwise, False.

object

Required. An expression that returns a Document object.

boolValue

Required Boolean. True to print drawings in landscape orientation; otherwise, False.

Remarks

The PrintLandscape property corresponds to the Portrait and Landscape settings in the Print Setup dialog box (click Page Setup on the File menu, and then click Setup).