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
stringtextFormat
ITextFormatmaxWidth
floatmaxHeight
float