Click or drag to resize

StiTextDrawingMeasureString Method (Graphics, String, Font, StringAlignment, StringAlignment, Single)

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

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static SizeF MeasureString(
	Graphics g,
	string text,
	Font font,
	StringAlignment horizontalAligment,
	StringAlignment vertiacalAligment,
	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,System.Drawing.StringAlignment,System.Drawing.StringAlignment,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,System.Drawing.StringAlignment,System.Drawing.StringAlignment,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,System.Drawing.StringAlignment,System.Drawing.StringAlignment,System.Single)"]

horizontalAligment
Type: System.DrawingStringAlignment

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

vertiacalAligment
Type: System.DrawingStringAlignment

[Missing <param name="vertiacalAligment"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.StringAlignment,System.Drawing.StringAlignment,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,System.Drawing.StringAlignment,System.Drawing.StringAlignment,System.Single)"]

Return Value

Type: SizeF

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

See Also