←Select platform

ChangeViewPerspective Method

Summary
Rotates and flips the image data as necessary to achieve the desired view perspective.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public void ChangeViewPerspective( 
   RasterViewPerspective viewPerspective 
) 
- (BOOL)changeViewPerspective:(LTRasterViewPerspective)viewPerspective error:(NSError **)error 
public void changeViewPerspective( 
   RasterViewPerspective viewPerspective 
); 
public: 
void ChangeViewPerspective(  
   RasterViewPerspective viewPerspective 
)  
def ChangeViewPerspective(self,viewPerspective): 

Parameters

viewPerspective
Desired view perspective.

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.

The following values for  viewPerspective are supported in (Document/Medical only) only:

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.

 

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.