←Select platform

SizeToDocument Method

Summary

Converts a size from pixels to document units.

Syntax
C#
C++/CLI
Java
Python
public LeadSizeD SizeToDocument( 
   LeadSize value 
) 
public:  
   LeadSizeD^ SizeToDocument( 
      LeadSize^ value 
   ) 
public LeadSizeD sizeToDocument(LeadSize value) 
def SizeToDocument(self,value): 

Parameters

value

Source value in pixels.

Return Value

The converted value in document units.

Remarks

This method PixelsToDocument with the resolution value stored in DocumentPages.DefaultResolution.

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.