Page Pattern
Constructs a page pattern from PDF data served by DataProvider.
First pattern in the source PDF will be used. If the PDF does not define any patterns, PdfProcessor will fail with an error.
Parameters
data Provider
Provider for PDF data that should be used as page pattern.
Constructs a page pattern from PDF data served from file content provider URI.
First pattern in the source PDF will be used. If the PDF does not define any patterns, PdfProcessor will fail with an error.
Parameters
file Uri
A content provider URI with supported scheme (content://
or
file://
).