DesktopTextArea.StyledTextPrinter

From Xojo Documentation

Method


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

New in 2021r3

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 DesktopTextArea's MultiLine property must be True to support styled text printing. Returns a StyledTextPrinter object. Width (pixels) is width of printable area.