TextArea.StyledTextPrinter
From Xojo Documentation
Method
This method is only available on macOS and Windows platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
TextArea.StyledTextPrinter(g as Graphics,Width as Integer) As StyledTextPrinter
Supported for all project types and targets.
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.