←Select platform

DocumentToPixels Method

Summary

Converts a value from document units to pixels.

Syntax
C#
C++/CLI
Java
Python
public static int DocumentToPixels( 
   double resolution, 
   double value 
) 
public:  
   static int DocumentToPixels( 
      double resolution, 
      double value 
   ) 
public static int documentToPixels(double resolution, double value) 
def DocumentToPixels(self,resolution,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 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.