←Select platform

SizeToPixels Method

Summary

Converts a size from document units to pixels.

Syntax

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly