documentToPixels Method

Summary

Converts a value from document units to pixels.

Syntax
TypeScript
JavaScript
documentToPixels = function( 
   resolution, 
   size 
) 
static documentToPixels( 
   resolution: number, 
   size: number 
): number; 

Parameters

resolution

The resolution to use.

size

Source value to convert in document units.

Return Value

The converted value in pixels.

Remarks

For more information, refer to Document Library Coordinate System.

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