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

8a03934a a9b8 bebb 2a2b 89ae4dbfb021

haplokuon edited this page May 6, 2023 · 1 revision

RectangleWidth Property

netDxf 3.0.0 Library

Gets or sets the text reference rectangle width.

Definition

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

C#

public double RectangleWidth { get; set; }

VB

Public Property RectangleWidth As Double
	Get
	Set

C++

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

F#

member RectangleWidth : float with get, set

Property Value

Double

Remarks

This value defines the width of the box where the text will fit.
If a paragraph width is longer than the rectangle width it will be broken in several lines, using the word spaces as breaking points.
If you specify a width of 0, word wrap is turned off and the width of the multiline text object is as wide as the longest line of text.

See Also

Reference

MText Class
netDxf.Entities Namespace

Clone this wiki locally