←Select platform

SizeToDocument Method (Document)

Summary

Converts a size from pixels to document units.

Syntax

C#
VB
Java
C++
public LeadSizeD SizeToDocument( 
   LeadSize value 
) 
Public Function SizeToDocument( 
   ByVal value As LeadSize 
) As LeadSizeD 
public:  
   LeadSizeD^ SizeToDocument( 
      LeadSize^ value 
   ) 
public LeadSizeD sizeToDocument(LeadSize 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 Documents Library Coordinate System.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize