SpreadsheetGear 2017
ScaleHeight Method (IShapeRange)






SpreadsheetGear.Shapes Namespace > IShapeRange Interface : ScaleHeight Method
Specifies the factor by which to scale the original or current size.
SPecifies whether the original size of pictures should be used as the starting size.
Specifies whether the size should be scaled from the top-left, middle or bottom-right of the shape.
Scales the represented shapes by the specified factor from the original or current size and from the specified position.
Syntax
'Declaration
 
Sub ScaleHeight( _
   ByVal factor As System.Double, _
   ByVal useOriginalSize As System.Boolean, _
   ByVal position As ScaleFrom _
) 
'Usage
 
Dim instance As IShapeRange
Dim factor As System.Double
Dim useOriginalSize As System.Boolean
Dim position As ScaleFrom
 
instance.ScaleHeight(factor, useOriginalSize, position)
void ScaleHeight( 
   System.double factor,
   System.bool useOriginalSize,
   ScaleFrom position
)
procedure ScaleHeight( 
    factor: System.Double;
    useOriginalSize: System.Boolean;
    position: ScaleFrom
); 
function ScaleHeight( 
   factor : System.double,
   useOriginalSize : System.boolean,
   position : ScaleFrom
);
void ScaleHeight( 
   System.double factor,
   System.bool useOriginalSize,
   ScaleFrom position
) 
void ScaleHeight( 
   System.double factor,
   System.bool useOriginalSize,
   ScaleFrom position
) 

Parameters

factor
Specifies the factor by which to scale the original or current size.
useOriginalSize
SPecifies whether the original size of pictures should be used as the starting size.
position
Specifies whether the size should be scaled from the top-left, middle or bottom-right of the shape.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IShapeRange Interface
IShapeRange Members