Click or drag to resize

D3DFlatText Constructor

Initializes a new instance of the D3DFlatText class

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public D3DFlatText(
	Device device,
	Document doc,
	string fontFamilyName,
	FontStyle style,
	string text,
	double lineHeight,
	double lineSpacing,
	VerticalAlign vAlign,
	HorizontalAlign hAlign
)

Parameters

device
Type: Device

[Missing <param name="device"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

doc
Type: Demo3D.VisualsDocument

[Missing <param name="doc"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

fontFamilyName
Type: SystemString

[Missing <param name="fontFamilyName"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

style
Type: System.DrawingFontStyle

[Missing <param name="style"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

lineHeight
Type: SystemDouble

[Missing <param name="lineHeight"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

lineSpacing
Type: SystemDouble

[Missing <param name="lineSpacing"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

vAlign
Type: VerticalAlign

[Missing <param name="vAlign"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

hAlign
Type: Demo3D.VisualsHorizontalAlign

[Missing <param name="hAlign"/> documentation for "M:Demo3D.Visuals.D3DFlatText.#ctor(SlimDX.Direct3D9.Device,Demo3D.Visuals.Document,System.String,System.Drawing.FontStyle,System.String,System.Double,System.Double,Demo3D.Visuals.VerticalAlign,Demo3D.Visuals.HorizontalAlign)"]

See Also