Table of Contents

Method CreateTextLayout

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

CreateTextLayout(string, ITextFormat, float, float)

Takes a string, text format, and associated constraints, and produces an object that represents the fully analyzed and formatted result.

ITextLayout CreateTextLayout(string text, ITextFormat textFormat, float maxWidth = 65535, float maxHeight = 65535)

Parameters

text string
textFormat ITextFormat
maxWidth float
maxHeight float

Returns

ITextLayout