PrintedPdfDocument

Class of android.print.pdf · PrintedPdfDocument.java · Android's reference

public class PrintedPdfDocument extends PdfDocument

PrintedPdfDocument ← PdfDocument

A PDF document with the page size and margins of print attributes, in points (1/72 inch).

Constructors

public PrintedPdfDocument(Context context, PrintAttributes attributes) source

Methods

public Page startPage(int pageNumber) source
public int getPageWidth() source
public int getPageHeight() source
public Rect getPageContentRect() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.