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