PrinterSettings.LandscapeAngle Property

 

Gets the angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public int LandscapeAngle { get; }

Property Value

Type: System.Int32

The angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation.

Valid rotation values are 90 and 270 degrees. If landscape is not supported, the only valid rotation value is 0 degrees. You set the PageSettings.Landscape property to true to print a page in landscape format.

.NET Framework
Available since 1.1
Return to top
Show: