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

1c559809 99f6 0f33 1d06 c454b418cb99

haplokuon edited this page May 6, 2023 · 1 revision

MText(String, Vector2, Double, Double, TextStyle) 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,
	TextStyle style
)

VB

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

C++

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

F#

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

Parameters

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

See Also

Reference

MText Class
MText Overload
netDxf.Entities Namespace

Clone this wiki locally