📄
PDF Creator Android
  • Introduction
  • Docs
  • Installation
  • Getting Started
  • Available Views
    • PDFVerticalView
    • PDFHorizontalView
    • PDFTextView
    • PDFImageView
    • PDFLineSeparatorView
    • PDFPageBreakView
    • PDFTableView
      • PDFTableRowView
  • Generate Pdf From HTML
    • Html To Pdf
    • WebView To Pdf
Powered by GitBook
On this page

Available Views

Type of views available to generate pdf

PreviousGetting StartedNextPDFVerticalView

Last updated 4 years ago

Views Map One-To-One to native Android Views

Library has wrappers to all the basic views and they all extend either PDPView directly or some other subclass of PDFView.

PDFView or any of its implementation, has some of the basic methods overridden from its native View setPadding() , setBackgroundColor() and setLayout() but for some reason you need any other internal method such as setRotationX() or setRotationY() you can use it directly by calling getView().setRotationX()

Available View to use in your pdf.

  1. -> LinearLayout (Vertical)

  2. -> LinearLayout (Horizontal)

  3. -> TextView

  4. -> ImageView

PDFVerticalView
PDFHorizontalView
PDFTextView
PDFImageView