Sets a value indicating whether different headers/footers are used for odd-numbered and even-numbered pages.
getWidth()
public final double getWidth()
Gets the width of a printing page in points.
Returns:
double - The width of a printing page in points.
getHeight()
public final double getHeight()
Gets the height of a printing page in points.
Returns:
double - The height of a printing page in points.
getLeftMargin()
public final double getLeftMargin()
Gets the size of the left margin in points.
Returns:
double - The size of the left margin in points.
getTopMargin()
public final double getTopMargin()
Gets the size of the top margin in points.
Returns:
double - The size of the top margin in points.
getRightMargin()
public final double getRightMargin()
Gets the size of the right margin in points.
Returns:
double - The size of the right margin in points.
getBottomMargin()
public final double getBottomMargin()
Gets the size of the bottom margin in points.
Returns:
double - The size of the bottom margin in points.
getDifferentFirstPageHeaderFooter()
public final boolean getDifferentFirstPageHeaderFooter()
Gets a value indicating whether a different header/footer is used for the first page.
Returns:
boolean - True if a different header/footer is used for the first page; otherwise, false.
setDifferentFirstPageHeaderFooter(boolean value)
public final void setDifferentFirstPageHeaderFooter(boolean value)
Sets a value indicating whether a different header/footer is used for the first page.
Parameters:
Parameter
Type
Description
value
boolean
True if a different header/footer is used for the first page; otherwise, false.
getOddAndEvenPagesHeaderFooter()
public final boolean getOddAndEvenPagesHeaderFooter()
Gets a value indicating whether different headers/footers are used for odd-numbered and even-numbered pages. Note, changing this property affects all sections in the content.
Returns:
boolean - True if different headers/footers are used for odd-numbered and even-numbered pages; otherwise, false.
setOddAndEvenPagesHeaderFooter(boolean value)
public final void setOddAndEvenPagesHeaderFooter(boolean value)
Sets a value indicating whether different headers/footers are used for odd-numbered and even-numbered pages. Note, changing this property affects all sections in the content.
Parameters:
Parameter
Type
Description
value
boolean
True if different headers/footers are used for odd-numbered and even-numbered pages; otherwise, false.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.