PageTemplate

Can be used with DialogNewPageFactory and NewPageDialog to provide additional templates for the user to choose when creating new pages.

Constructors

Link copied to clipboard
constructor(@NonNull sourceDocument: PdfDocument, @IntRange(from = 0) pageIndex: Int, @NonNull templateName: String, @Nullable previewImage: Drawable)
Creates a new PageTemplate from existing document page.
constructor(@NonNull pagePattern: PagePattern, @NonNull templateName: String, @Nullable previewImage: Drawable)
Creates a new PageTemplate from page tiling pattern.