public class PageInfo extends Object
Represents page setup data which is present in mpp file format and used for printing.
Constructor and Description |
---|
PageInfo() |
Modifier and Type | Method and Description |
---|---|
HeaderFooterInfo |
getFooter()
Returns an instance of the
HeaderFooterInfo class which represents a footer data. |
HeaderFooterInfo |
getHeader()
Returns an instance of the
HeaderFooterInfo class which represents a header data. |
PageLegend |
getLegend()
Returns an instance of the
PageMargins class which specifies page margins. |
PageMargins |
getMargins()
Returns an instance of the
PageMargins class which specifies page margins. |
String |
getName()
The name of the view for which set-up data is used.
|
PageSettings |
getPageSettings()
Returns an instance of the
PageSettings class which specifies page printing settings. |
PageViewSettings |
getPageViewSettings()
Returns an instance of the
PageViewSettings class which specifies page view printing settings. |
void |
setFooter(HeaderFooterInfo value)
Sets an instance of the
HeaderFooterInfo class which represents a footer data. |
void |
setHeader(HeaderFooterInfo value)
Sets an instance of the
HeaderFooterInfo class which represents a header data. |
void |
setLegend(PageLegend value)
Sets an instance of the
PageLegend class which specifies page legend. |
public HeaderFooterInfo getFooter()
Returns an instance of the HeaderFooterInfo
class which represents a footer data.
HeaderFooterInfo
class which represents a footer data.public void setFooter(HeaderFooterInfo value)
Sets an instance of the HeaderFooterInfo
class which represents a footer data.
value
- the specified instance of the HeaderFooterInfo
class which represents a footer data.public HeaderFooterInfo getHeader()
Returns an instance of the HeaderFooterInfo
class which represents a header data.
HeaderFooterInfo
class which represents a header data.public void setHeader(HeaderFooterInfo value)
Sets an instance of the HeaderFooterInfo
class which represents a header data.
value
- the specified instance of the HeaderFooterInfo
class which represents a header data.public PageLegend getLegend()
Returns an instance of the PageMargins
class which specifies page margins.
PageMargins
class which specifies page margins.public void setLegend(PageLegend value)
Sets an instance of the PageLegend
class which specifies page legend.
value
- the specified instance of the PageLegend
class which specifies page legend.public PageMargins getMargins()
Returns an instance of the PageMargins
class which specifies page margins.
PageMargins
class which specifies page margins.public String getName()
The name of the view for which set-up data is used.
public PageSettings getPageSettings()
Returns an instance of the PageSettings
class which specifies page printing settings.
PageSettings
class which specifies page printing settings.public PageViewSettings getPageViewSettings()
Returns an instance of the PageViewSettings
class which specifies page view printing settings.
PageViewSettings
class which specifies page view printing settings.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.