ios--about printing

Source: Internet
Author: User

20.UIPrintFormatter
Uiprintformatter when printing a formatted abstract base class: demonstrates that traditional printable content objects can span page boundaries. Due to the printing format, the print system can automatically print the type associated with the printed content. The following is a subclass of Uiprintformatter:
(1) Uisimpletextprintformatter
An instance of the Uisimpletextprintformatter class is laid out to print plain text, possibly multiple pages. The class allows you to specify the pattern properties of the global font, color, snaplines, and newline characters of the printed text.
(2) Uimarkuptextprintformatter
An instance of the Uimarkuptextprintformatter class shows the HTML markup text for a multi-page print job.
(3) Uiviewprintformatter
An instance of the Uiviewprintformatter class that outlines what the view is drawn for printing. The contents of a view can span multiple pages.
21.UIPrintInfo
A Uiprintinfo object encapsulates information about the print job, including printer identification, job name, output type (photo, normal, grayscale), Orientation (portrait or landscape), and any selected duplex mode. This information is used when the print system prints.
22.UIPrintInteractionController
Uiprintinteractioncontroller class of shared instances, presents a printed user interface and manages files, images and other printable content in iOS print. Uiprintinteractioncontroller is the iOS central printing class. Its shared instance represents a print job. print jobs, including their printing-related information and options, such as output type, job name, paper size and orientation, to print content.
23.UIPrintPageRenderer
A Uiprintpagerenderer object draws the contents of the page to be printed with or without printing formatting. A page rendering is an instance of the Uiprintpagerenderer custom subclass. When you compose a print job that uses a Uiprintinteractioncontroller shared instance, the page that you specify is rendered to the Printpagerenderer property of the instance.
24.UIPrintPaper
An instance of the Uiprintpaper class encapsulates a rectangle that uses the paper size, the print job, and the contents in which the content can be printed.

ios--about printing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.