LEADTOOLS JavaScript (Leadtools.Controls.Medical)

Resize Method

Show in webframe
The factor that determines the amount to resize the DICOMImageInformation.
Returns a new DICOMImageInformation based on the specified resize factor.
Syntax
 function Leadtools.Controls.Medical.DICOMImageInformation.resize( 
   resizeFactor 
)

Parameters

ParameterTypeDescription
resizeFactorintThe factor that determines the amount to resize the DICOMImageInformation.

Return Value

TypeDescription
DICOMImageInformation A new DICOMImageInformation based on the specified resize factor.
Remarks

The resizeFactor indicates the amount the width or height will be bit shifted to the right.

The available values are:
Value Description
0 A resizeFactor of 0 indicates that the image won't be resized.
1 The new image size will be (Width >> 1 or Width / 2) (Height >> 1 or Height / 2).
2 The new image size will be (Width >> 2 or Width / 4) (Height >> 2 or Height / 4).
See Also

Reference

DICOMImageInformation Object
DICOMImageInformation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.