Click or drag to resize

CanvasRendererAddTextWordWrap Method (String, Rectangle, EHorizontalAlignment, Boolean, EVerticalAlignment, Double, ColorValue, CanvasRendererAddTextOptions)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int AddTextWordWrap(
	string text,
	Rectangle rect,
	EHorizontalAlignment horizontalAlign,
	bool alignByWidth,
	EVerticalAlignment verticalAlign,
	double textVerticalIndention,
	ColorValue color,
	CanvasRendererAddTextOptions options = CanvasRendererAddTextOptions.PixelAlign
)

Parameters

text
Type: SystemString
rect
Type: NeoAxisRectangle
horizontalAlign
Type: NeoAxisEHorizontalAlignment
alignByWidth
Type: SystemBoolean
verticalAlign
Type: NeoAxisEVerticalAlignment
textVerticalIndention
Type: SystemDouble
color
Type: NeoAxisColorValue
options (Optional)
Type: NeoAxisCanvasRendererAddTextOptions

Return Value

Type: Int32
See Also