←Select platform

SetViewPerspective Method

Summary

Applies transformation on the specified pages.

Syntax
C#
VB
C++
public void SetViewPerspective( 
   RasterViewPerspective viewPerspective, 
   int firstPageNumber, 
   int lastPageNumber 
) 
Public Sub SetViewPerspective( 
   ByVal viewPerspective As RasterViewPerspective, 
   ByVal firstPageNumber As Integer, 
   ByVal lastPageNumber As Integer 
) 
public:  
   void SetViewPerspective( 
      RasterViewPerspective^ viewPerspective, 
      Int32 firstPageNumber, 
      Int32 lastPageNumber 
   ) 

Parameters

viewPerspective

View perspective value to apply.

1-based first page number in the document. This value must be greater than or equal to 1.

lastPageNumber

1-based last page number in the document. This value must be greater or equal to

firstPageNumber. A value of -1 means the last page in the document.

Remarks

This method loops through all the pages specified and sets the value of DocumentPage.ViewPerspective to viewPerspective. For more information, refer to Document Page Transformation.

Example

Refer to DocumentPage.Rotate for an example.

Requirements

Target Platforms

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

Leadtools.Document Assembly