PrinterSettings.LandscapeAngle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: