←Select platform

SizeToDocument Method

Summary

Converts a size from pixels to document units.

Syntax
C#
C++/CLI
Python
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

The method converts the size based off the resolution value stored in the page's resolution.

For more information, refer to Document Library Coordinate System.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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