VegaRise.NET
Back to Shape

SetScaleMethod

Definition

Namespace
DOM.Elements.Graphics
Assembly
DOM.dll

Overloads

SetScale(double scaleWidth, double scaleHeight)

Sets the scale percentages for the graphic dimensions.

SetScale(Percentage scaleWidth, Percentage scaleHeight)

Sets the scale percentages using objects. Percentage

SetScale(double scaleWidth, double scaleHeight)

SetScale(double scaleWidth, double scaleHeight)

Sets the scale percentages for the graphic dimensions.

Parameters

scaleWidth
Width scale as percentage (100 = normal).
scaleHeight
Height scale as percentage (100 = normal).

Remarks

Scaling is applied relative to the original dimensions of the graphic. A value of 100 means no scaling, 200 means double size, 50 means half size.

SetScale(Percentage scaleWidth, Percentage scaleHeight)

SetScale(Percentage scaleWidth, Percentage scaleHeight)

Sets the scale percentages using objects. Percentage

Parameters

scaleWidth
Width scale as . Percentage
scaleHeight
Height scale as . Percentage

Examples

csharp
1var graphic = new Graphic();
2graphic.SetScale(150, 150); // Scales to 150% of original size
3
VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in