Error processing SSI file
(Leadtools.Controls)

Show in webframe

GetScaleFactors Method




The destination size
The source size
The desired size mode
Utility method to calculate the scale factor needed to perform the specified size mode using a source and destination size.
Syntax
'Declaration
 
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

See Also

Reference

ImageViewer Class
ImageViewer Members

Error processing SSI file