documentToPixels Method (Document)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize