Click or drag to resize

StiTextDrawingMeasureString Method (Graphics, String, Font, StiTextHorAlignment, StiVertAlignment, Boolean, Single)

[Missing <summary> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static SizeD MeasureString(
	Graphics g,
	string text,
	Font font,
	StiTextHorAlignment ha,
	StiVertAlignment va,
	bool antialiasing,
	float angle
)

Parameters

g
Type: System.DrawingGraphics

[Missing <param name="g"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

font
Type: System.DrawingFont

[Missing <param name="font"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

ha
Type: Stimulsoft.Base.DrawingStiTextHorAlignment

[Missing <param name="ha"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

va
Type: Stimulsoft.Base.DrawingStiVertAlignment

[Missing <param name="va"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

antialiasing
Type: SystemBoolean

[Missing <param name="antialiasing"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

angle
Type: SystemSingle

[Missing <param name="angle"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

Return Value

Type: SizeD

[Missing <returns> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,Stimulsoft.Base.Drawing.StiTextHorAlignment,Stimulsoft.Base.Drawing.StiVertAlignment,System.Boolean,System.Single)"]

See Also