Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

d828f7b7 7944 54c7 288d cf9ac0d161f3

haplokuon edited this page May 6, 2023 · 1 revision

Size Property

netDxf 3.0.0 Library

Gets or sets the size of the shape.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public double Size { get; set; }

VB

Public Property Size As Double
	Get
	Set

C++

public:
property double Size {
	double get ();
	void set (double value);
}

F#

member Size : float with get, set

Property Value

Double

Remarks

The shape size is relative to the actual size of the shape definition. The size value works as an scale value applied to the dimensions of the shape definition. The DXF allows for negative values but that is the same as rotating the shape 180 degrees.
Size values must be greater than zero. Default: 1.0.

See Also

Reference

Shape Class
netDxf.Entities Namespace

Clone this wiki locally