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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.