Changes

Jump to: navigation, search

A Kotlin Guide to Android Custom Document Printing

85 bytes added, 19:10, 29 November 2017
no edit summary
As we have seen in the preceding chapters, the Android Printing framework makes it relatively easy to build printing support into applications as long as the content is in the form of an image or HTML markup. More advanced printing requirements can be met by making use of the custom document printing feature of the Printing framework.
== An An Overview of Android Custom Document Printing ==
In simplistic terms, custom document printing uses canvases to represent the pages of the document to be printed. The application draws the content to be printed onto these canvases in the form of shapes, colors, text and images. In actual fact, the canvases are represented by instances of the Android Canvas class, thereby providing access to a rich selection of drawing options. Once all the pages have been drawn, the document is then printed.
[[File:as3.0_custom_print_ui.png]]

[[File:as3.0_custom_print_page_range.png]]

[[File:as3.0_custom_print_running.png]]


Navigation menu