﻿ ScaleVector Method (AnnObject) | Leadtools.Annotations.Engine | Raster, Medical, Document Help
←Select platform
In This Topic ▼

# ScaleVector Method

Summary
Scales the AnnObject by the specified ratios, unit vector and center point.
Syntax
C#
VB
Objective-C
C++
Java
````public virtual void ScaleVector( `
`   double scaleX, `
`   double scaleY, `
`   LeadPointD unitVectorX, `
`   LeadPointD unitVectorY, `
`   LeadPointD centerPoint `
`) ````
````Public Overridable Sub ScaleVector( _ `
`   ByVal scaleX As Double, _ `
`   ByVal scaleY As Double, _ `
`   ByVal unitVectorX As LeadPointD, _ `
`   ByVal unitVectorY As LeadPointD, _ `
`   ByVal centerPoint As LeadPointD _ `
`)  ````
````-(void) scaleX:(double)scaleX `
`             y:(double)scaleY `
`       unitVectorX:(LeadPointD)unitVectorX; `
`       unitVectorY:(LeadPointD)unitVectorY; `
`       atPoint:(LeadPointD)ptOrg; ````
````public void scaleVector(double scaleX, `
`   double scaleY, `
`   LeadPointD unitVectorX, `
`   LeadPointD unitVectorY, `
`   LeadPointD centerPoint) `
`) ````
````public:  `
`   virtual void ScaleVector( `
`      double scaleX, `
`      double scaleY, `
`      LeadPointD^ unitVectorX, `
`      LeadPointD^ unitVectorY, `
`      LeadPointD^ centerPoint `
`   ) ````

#### Parameters

scaleX
The ratio by which to scale the AnnObject in the x-axis direction.

scaleY
The ratio by which to scale the AnnObject in the y-axis direction.

unitVectorX
The X-axis of the unit vector to use in scaling.

unitVectorY
The T-axis of the unit vector to use in scaling.

centerPoint