Class PageTemplate

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PageTemplate

        PageTemplate(PdfDocument sourceDocument, int pageIndex, String templateName, Drawable previewImage)
        Creates a new PageTemplate from existing document page.
        Parameters:
        sourceDocument - The document to use to create the new page.
        pageIndex - The page of the source document to use for the new page.
        templateName - Title shown to the user when selecting the page template
        previewImage - Preview image shown to the user when selecting a new page template.
      • PageTemplate

        PageTemplate(PagePattern pagePattern, String templateName, Drawable previewImage)
        Creates a new PageTemplate from page tiling pattern.
        Parameters:
        pagePattern - Tiled Page pattern to use to create new page.
        templateName - Title shown to the user when selecting the page template
        previewImage - Preview image shown to the user when selecting a new page template.
    • Method Detail