←Select platform

PixelsToDocument Method

Summary

Converts a value from pixels to document units.

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

Parameters

resolution

The resolution to use.

value

Source value to convert in pixels.

Return Value

The converted value in document units.

Remarks

For more information, refer to Document Library Coordinate System.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly