Click or drag to resize

CanvasRendererAddTextWordWrap Method (String, RectangleF, EHorizontalAlignment, Boolean, EVerticalAlignment, Single, 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,
	RectangleF rect,
	EHorizontalAlignment horizontalAlign,
	bool alignByWidth,
	EVerticalAlignment verticalAlign,
	float textVerticalIndention,
	ColorValue color,
	CanvasRendererAddTextOptions options = CanvasRendererAddTextOptions.PixelAlign
)

Parameters

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

Return Value

Type: Int32
See Also