←Select platform

SizeToPixels Method

Summary

Converts a size from document units to pixels.

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

Parameters

value

Source value in document units.

Return Value

The converted value in pixels.

Remarks

This method DocumentToPixels 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.