LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Scale Method
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Scale Method



sx
The value by which to scale the matrix in the AnnObject.Transform property in the x-axis direction.
sy
The value by which to scale the matrix in the AnnObject.Transform property in the y-axis direction.
origin
An AnnPoint structure that represents the center of the scaling operation.

The Scale Method is available in LEADTOOLS Document and Medical Imaging toolkits.

sx
The value by which to scale the matrix in the AnnObject.Transform property in the x-axis direction.
sy
The value by which to scale the matrix in the AnnObject.Transform property in the y-axis direction.
origin
An AnnPoint structure that represents the center of the scaling operation.
Scales the transformation matrix of this AnnGroupObject object using the specified values.

Syntax

Visual Basic (Declaration) 
Overrides Public Sub Scale( _
   ByVal sx As Single, _
   ByVal sy As Single, _
   ByVal origin As AnnPoint _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim sx As Single
Dim sy As Single
Dim origin As AnnPoint
 
instance.Scale(sx, sy, origin)
C# 
public override void Scale( 
   float sx,
   float sy,
   AnnPoint origin
)
C++/CLI 
public:
void Scale( 
   float sx,
   float sy,
   AnnPoint origin
) override 

Parameters

sx
The value by which to scale the matrix in the AnnObject.Transform property in the x-axis direction.
sy
The value by which to scale the matrix in the AnnObject.Transform property in the y-axis direction.
origin
An AnnPoint structure that represents the center of the scaling operation.

Remarks

The AnnGroupObject will scale all objects in the group. For more information, refer to AnnObject.Scale.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features