| Flash for .NET Task-Based Help > C1FlashCanvas Tasks > Transforming a Drawing Using C1FlashCanvas > Scaling the Coordination |
These instructions assume that you have already completed the Rotating the Drawing task.
To draw an ellipse, use the DrawEllipse method and to scale the coordination, call the ScaleTransform method:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
Me.C1FlashCanvas1.ScaleTransform(0.85F, 0.85F) |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
this.c1FlashCanvas1.ScaleTransform(0.85F, 0.85F); |
|
Your scaled drawing should resemble the following image:
