←Select platform

PixelsToDocument Method

Summary

Converts a value from pixels to document units.

Syntax
C#
C++/CLI
Java
Python
public static double PixelsToDocument( 
   double resolution, 
   int value 
) 
public:  
   static double PixelsToDocument( 
      double resolution, 
      int value 
   ) 
public static double pixelsToDocument(double resolution, int value) 
def PixelsToDocument(self,resolution,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 22.0.2023.4.21
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.