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

# ScaleVector Method

Summary
Scales the AnnStickyNoteObject by the specified ratios, unit vector and center point.
Syntax
C#
Objective-C
C++/CLI
Java
Python
````public override void ScaleVector( `
`   double scaleX, `
`   double scaleY, `
`   LeadPointD unitVectorX, `
`   LeadPointD unitVectorY, `
`   LeadPointD centerPoint `
`) ````
````-(void) scaleX:(double)scaleX `
`             y:(double)scaleY `
`       unitVectorX:(LeadPointD)unitVectorX; `
`       unitVectorY:(LeadPointD)unitVectorY; `
`       atPoint:(LeadPointD)ptOrg; ````
````@Override 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 `
`   ) override ````
``def ScaleVector(self,scaleX,scaleY,unitVectorX,unitVectorY,centerPoint): ``

#### Parameters

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

scaleY
The ratio by which to scale the AnnStickyNoteObject 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
A Leadtools.LeadPointD object that represents the center of the scale operation.

Remarks

This implementation overrides this method to ignore the default behavior since this object type does not support scaling.

Requirements