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

36501e7b 509f 81a0 2cda 82fa917eb5f9

haplokuon edited this page May 6, 2023 · 1 revision

FontName Property

netDxf 3.0.0 Library

Gets or sets the font that will override the default defined in the TextStyle.

Definition

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

C#

public string FontName { get; set; }

VB

Public Property FontName As String
	Get
	Set

C++

public:
property String^ FontName {
	String^ get ();
	void set (String^ value);
}

F#

member FontName : string with get, set

Property Value

String

Remarks

Set as null or empty to apply the default font.
When using SHX fonts use the font file with the SHX extension, when using TTF fonts use the font family name.

See Also

Reference

MTextFormattingOptions Class
netDxf.Entities Namespace

Clone this wiki locally