←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 Documents Library Coordinate System.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly