TextArea.StyledTextPrinter

From Xojo Documentation

Method


TextArea.StyledTextPrinter(g as Graphics,Width as Integer) As StyledTextPrinter

Supported for all project types and targets.

Used to create a StyledTextPrinter object for printing the TextArea’s text property as styled text.

Notes

The TextArea's MultiLine property must be True to support styled text printing. Returns a StyledTextPrinter object. Width (pixels) is width of printable area.