ClearImage .NET API
Scale(Double,Double) Method





Inlite.ClearImageNet Namespace > ImageEditor Class > Scale Method : Scale(Double,Double) Method
scale factor in horizontal direction
scale factor in vertical direction
Scales image
Syntax
'Declaration
 
Public Overloads Sub Scale( _
   ByVal scaleX As System.Double, _
   ByVal scaleY As System.Double _
) 
'Usage
 
Dim instance As ImageEditor
Dim scaleX As System.Double
Dim scaleY As System.Double
 
instance.Scale(scaleX, scaleY)
public void Scale( 
   System.double scaleX,
   System.double scaleY
)
public procedure Scale( 
    scaleX: System.Double;
    scaleY: System.Double
); 
public function Scale( 
   scaleX : System.double,
   scaleY : System.double
);
public:
void Scale( 
   System.double scaleX,
   System.double scaleY
) 

Parameters

scaleX
scale factor in horizontal direction
scaleY
scale factor in vertical direction
Remarks
This method generates an error if  object.Image.IsZone  is true.  object.Image.HorzDpi and object.Image.VertDpi properties are multiplied by scaleX and scaleY respectively.
See Also

Reference

ImageEditor Class
ImageEditor Members
Overload List