O2S.Components.PDF4NET.View.Win Documentation
Rotation Property



O2S.Components.PDF4NET.View Namespace > PDFVisualPage Class : Rotation Property
Gets or sets the rotation angle.
Syntax
'Declaration
 
Public Property Rotation As Integer
'Usage
 
Dim instance As PDFVisualPage
Dim value As Integer
 
instance.Rotation = value
 
value = instance.Rotation
public int Rotation {get; set;}
public:
property int Rotation {
   int get();
   void set (    int value);
}

Property Value

The number of degrees by which the page should be rotated clockwise when displayed or printed.
Exceptions
ExceptionDescription
Thrown when the value being set is not one of the accepted values.
Remarks
The accepted values for this property are 0, 90, 180 and 270 degrees.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFVisualPage Class
PDFVisualPage Members