Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

GetScaleFactors Method

Show in webframe
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
 function Leadtools.Controls.ImageViewer.getScaleFactors( 
   destinationSize ,
   sourceSize ,
   sizeMode 
)

Parameters

ParameterTypeDescription
destinationSizeLeadSizeDThe destination size
sourceSizeLeadSizeDThe source size
sizeModeControlSizeModeThe desired size mode

Return Value

TypeDescription
LeadSizeD The calculated destination size
See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file