LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.
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. Supported in Silverlight, Windows Phone 7

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 RasterImage.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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also