Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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