Stay organized with collections
Save and categorize content based on your preferences.
android.graphics.pdf
Contains classes for manipulation of PDF content.
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.graphics.pdf\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.graphics.pdf\n====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/graphics/pdf/package-summary \"View this page in Kotlin\") \\|Java\nContains classes for manipulation of PDF content.\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [LoadParams](/reference/android/graphics/pdf/LoadParams) | Represents a set of parameters to load the PDF document. |\n| [LoadParams.Builder](/reference/android/graphics/pdf/LoadParams.Builder) | Builder for constructing [LoadParams](/reference/android/graphics/pdf/LoadParams). |\n| [PdfDocument](/reference/android/graphics/pdf/PdfDocument) | This class enables generating a PDF document from native Android content. |\n| [PdfDocument.Page](/reference/android/graphics/pdf/PdfDocument.Page) | This class represents a PDF document page. |\n| [PdfDocument.PageInfo](/reference/android/graphics/pdf/PdfDocument.PageInfo) | This class represents meta-data that describes a PDF [Page](/reference/android/graphics/pdf/PdfDocument.Page). |\n| [PdfDocument.PageInfo.Builder](/reference/android/graphics/pdf/PdfDocument.PageInfo.Builder) | Builder for creating a [PageInfo](/reference/android/graphics/pdf/PdfDocument.PageInfo). |\n| [PdfRenderer](/reference/android/graphics/pdf/PdfRenderer) | This class enables rendering a PDF document and selecting, searching, fast scrolling, annotations, etc. |\n| [PdfRenderer.Page](/reference/android/graphics/pdf/PdfRenderer.Page) | This class represents a PDF document page for rendering. |\n| [PdfRendererPreV](/reference/android/graphics/pdf/PdfRendererPreV) | This class enables rendering a PDF document and selecting, searching, fast scrolling, annotations, etc from Android R till Android U. |\n| [PdfRendererPreV.Page](/reference/android/graphics/pdf/PdfRendererPreV.Page) | This class represents a PDF document page for rendering. |\n| [RenderParams](/reference/android/graphics/pdf/RenderParams) | Represents a set of parameters that will be used to render a page of the PDF document. |\n| [RenderParams.Builder](/reference/android/graphics/pdf/RenderParams.Builder) | Builder for constructing [RenderParams](/reference/android/graphics/pdf/RenderParams). |\n\n-\n\n Classes\n -------\n\n - [LoadParams](/reference/android/graphics/pdf/LoadParams)\n - [LoadParams.Builder](/reference/android/graphics/pdf/LoadParams.Builder)\n - [PdfDocument](/reference/android/graphics/pdf/PdfDocument)\n - [PdfDocument.Page](/reference/android/graphics/pdf/PdfDocument.Page)\n - [PdfDocument.PageInfo](/reference/android/graphics/pdf/PdfDocument.PageInfo)\n - [PdfDocument.PageInfo.Builder](/reference/android/graphics/pdf/PdfDocument.PageInfo.Builder)\n - [PdfRenderer](/reference/android/graphics/pdf/PdfRenderer)\n - [PdfRenderer.Page](/reference/android/graphics/pdf/PdfRenderer.Page)\n - [PdfRendererPreV](/reference/android/graphics/pdf/PdfRendererPreV)\n - [PdfRendererPreV.Page](/reference/android/graphics/pdf/PdfRendererPreV.Page)\n - [RenderParams](/reference/android/graphics/pdf/RenderParams)\n - [RenderParams.Builder](/reference/android/graphics/pdf/RenderParams.Builder)"]]