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

e028dab7 d3e5 6b55 c826 475f1934d1a2

haplokuon edited this page May 6, 2023 · 1 revision

Scale Property

netDxf 3.0.0 Library

Gets or sets the underlay scale.

Definition

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

C#

public Vector2 Scale { get; set; }

VB

Public Property Scale As Vector2
	Get
	Set

C++

public:
property Vector2 Scale {
	Vector2 get ();
	void set (Vector2 value);
}

F#

member Scale : Vector2 with get, set

Property Value

Vector2

Remarks

Any of the vector scale components cannot be zero.
Even thought the DXF has a code for the Z scale it seems that it has no use. The X and Y components multiplied by the original size of the PDF page represent the width and height of the final underlay. The Z component even thought it is present in the DXF it seems it has no use.

See Also

Reference

Underlay Class
netDxf.Entities Namespace

Clone this wiki locally