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).
public PrintedPdfDocument(Context context, PrintAttributes attributes) sourcepublic Page startPage(int pageNumber) sourcepublic int getPageWidth() sourcepublic int getPageHeight() sourcepublic Rect getPageContentRect() sourceMade 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.