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

Leadtools.Document Assembly

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