TextArea.StyledTextPrinter

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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.