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




viewPerspective
Desired view perspective.
Rotates and flips the image data as necessary to achieve the desired view perspective.

Syntax

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

Parameters

viewPerspective
Desired view perspective.

Example

This example demonstrates the low-level methods for accessing 1-bit compressed image data. It demonstrates the ability to get and put rows, and the ability to process rows in buffer-to-buffer processing. The result of the function is an the first 50 lines are inverted.

Remarks

The ViewPerspective is the arrangement of pixels in the image. This method references image coordinates, which are often different from the display coordinates of an image.

Use this method to change the data and the ViewPerspective to simplify calculations that involve image coordinates. This method does not affect the image display. For more information, refer to Accounting for View Perspective.

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