com.spire.pdf
Class PdfSection

java.lang.Object
  extended by com.spire.pdf.PdfSection
All Implemented Interfaces:
com.spire.ms.System.Collections.IEnumerable, java.lang.Iterable

public class PdfSection
extends java.lang.Object
implements com.spire.ms.System.Collections.IEnumerable

Represents a section entity. A section it's a set of the pages with similar page settings.


Constructor Summary
PdfSection(PdfDocumentBase document)
           
PdfSection(PdfDocumentBase document, PdfPageSettings pageSettings)
           
 
Method Summary
 int getCount()
          Gets the count of the pages in the section.
 PdfDocumentBase getDocument()
          Gets the owner document.
 PdfSectionPageCollection getPages()
          Gets the pages.
 PdfPageSettings getPageSettings()
          Gets the page settings of the section.
 PdfSectionTemplate getTemplate()
          Gets a template for the pages in the section.
 void setPageSettings(PdfPageSettings value)
          Sets the page settings of the section.
 void setTemplate(PdfSectionTemplate value)
          Sets a template for the pages in the section.
 

Constructor Detail

PdfSection

public PdfSection(PdfDocumentBase document,
                  PdfPageSettings pageSettings)

PdfSection

public PdfSection(PdfDocumentBase document)
Method Detail

getPages

public PdfSectionPageCollection getPages()
Gets the pages.


getPageSettings

public PdfPageSettings getPageSettings()
Gets the page settings of the section.


setPageSettings

public void setPageSettings(PdfPageSettings value)
Sets the page settings of the section.


getTemplate

public PdfSectionTemplate getTemplate()
Gets a template for the pages in the section.


setTemplate

public void setTemplate(PdfSectionTemplate value)
Sets a template for the pages in the section.


getCount

public int getCount()
Gets the count of the pages in the section.


getDocument

public PdfDocumentBase getDocument()
Gets the owner document.