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

b07bea9f 7dbd 6e7d 39c9 7a9ac7ed7515

haplokuon edited this page May 6, 2023 · 1 revision

MText(String, Vector2, Double, Double) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the MText class.

Definition

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

C#

public MText(
	string text,
	Vector2 position,
	double height,
	double rectangleWidth
)

VB

Public Sub New ( 
	text As String,
	position As Vector2,
	height As Double,
	rectangleWidth As Double
)

C++

public:
MText(
	String^ text, 
	Vector2 position, 
	double height, 
	double rectangleWidth
)

F#

new : 
        text : string * 
        position : Vector2 * 
        height : float * 
        rectangleWidth : float -> MText

Parameters

  String
Text string.
  Vector2
Text position in world coordinates.
  Double
Text height.
  Double
Reference rectangle width.

See Also

Reference

MText Class
MText Overload
netDxf.Entities Namespace

Clone this wiki locally