Class PageInfo
- java.lang.Object
-
- com.aspose.tasks.PageInfo
-
public class PageInfo extends Object
Represents page setup data which is present in MPP file format and used for printing.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderFooterInfogetFooter()Gets an instance of theHeaderFooterInfoclass which represents a footer data.HeaderFooterInfogetHeader()Gets the instance of theHeaderFooterInfoclass which represents a header data.PageLegendgetLegend()Gets an instance of thePageLegendclass which specifies page legend.PageMarginsgetMargins()Gets an instance of thePageMarginsclass which specifies page margins.StringgetName()Gets the name of the view for which set-up data is used.PageSettingsgetPageSettings()Gets an instance of thePageSettings(getPageSettings()) class which specifies page printing settings.PageViewSettingsgetPageViewSettings()Gets an instance of thePageViewSettings(getPageViewSettings()) class which specifies page view printing settings.voidsetFooter(HeaderFooterInfo value)Sets an instance of theHeaderFooterInfoclass which represents a footer data.voidsetHeader(HeaderFooterInfo value)Sets the instance of theHeaderFooterInfoclass which represents a header data.voidsetLegend(PageLegend value)Sets an instance of thePageLegendclass which specifies page legend.
-
-
-
Constructor Detail
-
PageInfo
public PageInfo()
Initializes a new instance of the
PageInfoclass. Represents page setup data which is present in MPP file format and used for printing.
-
-
Method Detail
-
getFooter
public final HeaderFooterInfo getFooter()
Gets an instance of the
HeaderFooterInfoclass which represents a footer data.- Returns:
- an instance of the
HeaderFooterInfoclass which represents a footer data.
-
setFooter
public final void setFooter(HeaderFooterInfo value)
Sets an instance of the
HeaderFooterInfoclass which represents a footer data.- Parameters:
value- an instance of theHeaderFooterInfoclass which represents a footer data.
-
getHeader
public final HeaderFooterInfo getHeader()
Gets the instance of the
HeaderFooterInfoclass which represents a header data.- Returns:
- the instance of the
HeaderFooterInfoclass which represents a header data.
-
setHeader
public final void setHeader(HeaderFooterInfo value)
Sets the instance of the
HeaderFooterInfoclass which represents a header data.- Parameters:
value- the instance of theHeaderFooterInfoclass which represents a header data.
-
getLegend
public final PageLegend getLegend()
Gets an instance of the
PageLegendclass which specifies page legend.- Returns:
- an instance of the
PageLegendclass which specifies page legend.
-
setLegend
public final void setLegend(PageLegend value)
Sets an instance of the
PageLegendclass which specifies page legend.- Parameters:
value- an instance of thePageLegendclass which specifies page legend.
-
getMargins
public final PageMargins getMargins()
Gets an instance of the
PageMarginsclass which specifies page margins.- Returns:
- an instance of the
PageMarginsclass which specifies page margins.
-
getName
public final String getName()
Gets the name of the view for which set-up data is used.
- Returns:
- the name of the view for which set-up data is used.
-
getPageSettings
public final PageSettings getPageSettings()
Gets an instance of the
PageSettings(getPageSettings()) class which specifies page printing settings.- Returns:
- an instance of the
PageSettings(getPageSettings()) class which specifies page printing settings.
-
getPageViewSettings
public final PageViewSettings getPageViewSettings()
Gets an instance of the
PageViewSettings(getPageViewSettings()) class which specifies page view printing settings.- Returns:
- an instance of the
PageViewSettings(getPageViewSettings()) class which specifies page view printing settings.
-
-