←Select platform

SizeToPixels Method

Summary

Converts a size from document units to pixels.

Syntax
C#
VB
C++
public LeadSize SizeToPixels( 
   LeadSizeD value 
) 
Public Function SizeToPixels( 
   ByVal value As LeadSizeD 
) As LeadSize 
public:  
   LeadSize^ SizeToPixels( 
      LeadSizeD^ value 
   ) 

Parameters

value

Source value in document units.

Return Value

The converted value in pixels.

Remarks

The method converts the rectangle 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.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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