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 HeaderFooterInfo
getFooter()
Gets an instance of theHeaderFooterInfo
class which represents a footer data.HeaderFooterInfo
getHeader()
Gets the instance of theHeaderFooterInfo
class which represents a header data.PageLegend
getLegend()
Gets an instance of thePageLegend
class which specifies page legend.PageMargins
getMargins()
Gets an instance of thePageMargins
class which specifies page margins.String
getName()
Gets the name of the view for which set-up data is used.PageSettings
getPageSettings()
Gets an instance of thePageSettings
(getPageSettings()
) class which specifies page printing settings.PageViewSettings
getPageViewSettings()
Gets an instance of thePageViewSettings
(getPageViewSettings()
) class which specifies page view printing settings.void
setFooter(HeaderFooterInfo value)
Sets an instance of theHeaderFooterInfo
class which represents a footer data.void
setHeader(HeaderFooterInfo value)
Sets the instance of theHeaderFooterInfo
class which represents a header data.void
setLegend(PageLegend value)
Sets an instance of thePageLegend
class which specifies page legend.
-
-
-
Constructor Detail
-
PageInfo
public PageInfo()
Initializes a new instance of the
PageInfo
class. 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
HeaderFooterInfo
class which represents a footer data.- Returns:
- an instance of the
HeaderFooterInfo
class which represents a footer data.
-
setFooter
public final void setFooter(HeaderFooterInfo value)
Sets an instance of the
HeaderFooterInfo
class which represents a footer data.- Parameters:
value
- an instance of theHeaderFooterInfo
class which represents a footer data.
-
getHeader
public final HeaderFooterInfo getHeader()
Gets the instance of the
HeaderFooterInfo
class which represents a header data.- Returns:
- the instance of the
HeaderFooterInfo
class which represents a header data.
-
setHeader
public final void setHeader(HeaderFooterInfo value)
Sets the instance of the
HeaderFooterInfo
class which represents a header data.- Parameters:
value
- the instance of theHeaderFooterInfo
class which represents a header data.
-
getLegend
public final PageLegend getLegend()
Gets an instance of the
PageLegend
class which specifies page legend.- Returns:
- an instance of the
PageLegend
class which specifies page legend.
-
setLegend
public final void setLegend(PageLegend value)
Sets an instance of the
PageLegend
class which specifies page legend.- Parameters:
value
- an instance of thePageLegend
class which specifies page legend.
-
getMargins
public final PageMargins getMargins()
Gets an instance of the
PageMargins
class which specifies page margins.- Returns:
- an instance of the
PageMargins
class 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.
-
-