←Select platform

ViewPerspective Property

Summary

Current view perspective (transformation) value of this page.

Syntax
C#
VB
C++
public RasterViewPerspective ViewPerspective { get; set; } 
Public Property ViewPerspective() As RasterViewPerspective 
   Get 
   Set 
public:  
   property RasterViewPerspective^ ViewPerspective 
   { 
      RasterViewPerspective^ get() 
      void set(RasterViewPerspective^ value) 
   } 

Property Value

The current view perspective of this page. The default value is RasterViewPerspective.TopLeft.

Remarks

ViewPerspective holds the current transformation of the page. Initially, it contains the value of TopLeft, which means that no transformation has been applied to this page. Transformation can be reset by setting ViewPerspective back to TopLeft.

ViewPerspective is saved into the cache entry of the page and is re-loaded and used when the document is loaded back from the cache.

Each call to Rotate, Flip and Reverse will update ViewPerspective with the value that matches the new transformation.

Refer to Document Page Transformation for more information.

Example

For an example, refer to Rotate.

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