←Select platform

SizeToDocument Method

Summary

Converts a size from pixels to document units.

Syntax
C#
VB
C++
public LeadSizeD SizeToDocument( 
   LeadSize value 
) 
Public Function SizeToDocument( 
   ByVal value As LeadSize 
) As LeadSizeD 
public:  
   LeadSizeD^ SizeToDocument( 
      LeadSize^ 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 21.0.2020.12.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly