Click or drag to resize

StiTextRendererBreakText Method

[Missing <summary> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static string BreakText(
	Graphics g,
	ref string text,
	Font font,
	RectangleD bounds,
	Color foreColor,
	Color backColor,
	double lineSpacing,
	StiTextHorAlignment horAlign,
	bool wordWrap,
	bool rightToLeft,
	double scale,
	double angle,
	StringTrimming trimming,
	bool allowHtmlTags,
	StiTextOptions textOptions
)

Parameters

g
Type: System.DrawingGraphics

[Missing <param name="g"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

font
Type: System.DrawingFont

[Missing <param name="font"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

bounds
Type: Stimulsoft.Base.DrawingRectangleD

[Missing <param name="bounds"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

foreColor
Type: System.DrawingColor

[Missing <param name="foreColor"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

backColor
Type: System.DrawingColor

[Missing <param name="backColor"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

lineSpacing
Type: SystemDouble

[Missing <param name="lineSpacing"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

horAlign
Type: Stimulsoft.Base.DrawingStiTextHorAlignment

[Missing <param name="horAlign"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

wordWrap
Type: SystemBoolean

[Missing <param name="wordWrap"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

rightToLeft
Type: SystemBoolean

[Missing <param name="rightToLeft"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

scale
Type: SystemDouble

[Missing <param name="scale"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

angle
Type: SystemDouble

[Missing <param name="angle"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

trimming
Type: System.DrawingStringTrimming

[Missing <param name="trimming"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

allowHtmlTags
Type: SystemBoolean

[Missing <param name="allowHtmlTags"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

textOptions
Type: Stimulsoft.Base.DrawingStiTextOptions

[Missing <param name="textOptions"/> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Stimulsoft.Base.Drawing.StiTextRenderer.BreakText(System.Drawing.Graphics,System.String@,System.Drawing.Font,Stimulsoft.Base.Drawing.RectangleD,System.Drawing.Color,System.Drawing.Color,System.Double,Stimulsoft.Base.Drawing.StiTextHorAlignment,System.Boolean,System.Boolean,System.Double,System.Double,System.Drawing.StringTrimming,System.Boolean,Stimulsoft.Base.Drawing.StiTextOptions)"]

See Also