←Select platform

Is this page helpful?

In this page

PixelsToDocument Method

Summary

Converts a value from pixels to document units.

Syntax
C#
VB
C++
Java
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.