Click or drag to resize

StiTextRendererGetTextLinesAndWidths Method

[Missing <summary> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static List<string> GetTextLinesAndWidths(
	Graphics g,
	ref string text,
	Font font,
	RectangleD bounds,
	double lineSpacing,
	bool wordWrap,
	bool rightToLeft,
	double scale,
	double angle,
	StringTrimming trimming,
	bool allowHtmlTags,
	ref List<string> textLines,
	ref List<StiTextRendererLineInfo> linesInfo,
	StiTextOptions textOptions
)

Parameters

g
Type: System.DrawingGraphics

[Missing <param name="g"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

font
Type: System.DrawingFont

[Missing <param name="font"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

bounds
Type: Stimulsoft.Base.DrawingRectangleD

[Missing <param name="bounds"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

lineSpacing
Type: SystemDouble

[Missing <param name="lineSpacing"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

wordWrap
Type: SystemBoolean

[Missing <param name="wordWrap"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

rightToLeft
Type: SystemBoolean

[Missing <param name="rightToLeft"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

scale
Type: SystemDouble

[Missing <param name="scale"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

angle
Type: SystemDouble

[Missing <param name="angle"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

trimming
Type: System.DrawingStringTrimming

[Missing <param name="trimming"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

allowHtmlTags
Type: SystemBoolean

[Missing <param name="allowHtmlTags"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

textLines
Type: System.Collections.GenericListString

[Missing <param name="textLines"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

linesInfo
Type: System.Collections.GenericListStiTextRendererLineInfo

[Missing <param name="linesInfo"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

textOptions
Type: Stimulsoft.Base.DrawingStiTextOptions

[Missing <param name="textOptions"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

Return Value

Type: ListString

[Missing <returns> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.GetTextLinesAndWidths(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Double,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,System.Collections.Generic.List{System.String}@,System.Collections.Generic.List{Stimulsoft.Base.Drawing.StiTextRenderer.LineInfo}@,Stimulsoft.Base.Drawing.StiTextOptions)"]

See Also