documentToPixels Method

Summary

Converts a value from document units to pixels.

Syntax

JavaScript Syntax
documentToPixels = function(resolution, size) 
TypeScript Syntax
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 Documents Library Coordinate System.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly