←Select platform

DocumentToPixels Method

Summary

Converts a value from document units to pixels.

Syntax

C#
VB
Java
C++
public static int DocumentToPixels( 
   double resolution, 
   double value 
) 
Public Shared Function DocumentToPixels( 
   ByVal resolution As Double, 
   ByVal value As Double 
) As Integer 
public:  
   static int DocumentToPixels( 
      double resolution, 
      double value 
   ) 
public static int documentToPixels(double resolution, double value) 

Parameters

resolution

The resolution to use.

value

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.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly