getViewPerspectiveTransform Method

Summary

Helper method to calculate the matrix to use when applying a view perspective.

Syntax
TypeScript
JavaScript
getViewPerspectiveTransform = function( 
   viewPerspective, 
   size, 
   apply 
) 
static getViewPerspectiveTransform( 
   viewPerspective: RasterViewPerspective, 
   size: LeadSizeD, 
   apply: boolean 
): LeadMatrix; 

Parameters

viewPerspective

View perspective to use.

size

Size of the page.

apply

true to apply the transformation in the original order; false to apply the transformation in the reverse order.

Return Value

Matrix that contains transformation values (rotation, flip and reverse).

Requirements

Target Platforms

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

Leadtools.Document Assembly