Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RotateViewPerspective Method
See Also 
Leadtools Namespace > RasterImage Class : RotateViewPerspective Method




degrees
Degrees of rotation. Valid values +-90, +-180, +-270, or +-360. Positive values are clockwise; negative values are counterclockwise.
Rotates this RasterImage by changing its ViewPerspective.

Syntax

Visual Basic (Declaration) 
Public Sub RotateViewPerspective( _
   ByVal degrees As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim degrees As Integer
 
instance.RotateViewPerspective(degrees)
C# 
public void RotateViewPerspective( 
   int degrees
)
Managed Extensions for C++ 
public: void RotateViewPerspective( 
   int degrees
) 
C++/CLI 
public:
void RotateViewPerspective( 
   int degrees
) 

Parameters

degrees
Degrees of rotation. Valid values +-90, +-180, +-270, or +-360. Positive values are clockwise; negative values are counterclockwise.

Example

For an example, refer to Changed.

Remarks

((Document/Medical only) only).

This method achieves fast rotation by changing only the ViewPerspective.

After using this method, you can reverse the result by restoring the original ViewPerspective.

Some methods must account for the view perspective. For more information refer to Accounting for View Perspective.

For more information, refer to Processing an Image.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also