←Select platform

GetScaleFactors Method

Summary

Utility method to calculate the scale factor needed to perform the specified size mode using a source and destination size.

Syntax
C#
VB
C++
Public Shared Function GetScaleFactors( 
   ByVal destinationSize As LeadSizeD, 
   ByVal sourceSize As LeadSizeD, 
   ByVal sizeMode As ControlSizeMode 
) As LeadSizeD 

Parameters

destinationSize

The destination size

sourceSize

The source size

sizeMode

The desired size mode

Return Value

The calculated destination size

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly