Available Views

Type of views available to generate pdf

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. PDFVerticalView -> LinearLayout (Vertical)

  2. PDFHorizontalView -> LinearLayout (Horizontal)

  3. PDFTextView -> TextView

  4. PDFImageView -> ImageView

Last updated