Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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
)
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 Introduction to Image Processing With LEADTOOLS.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also