PDFPageStyleProperties

The PDFPageStyleProperties interface represents styling properties applied to a page when it is included in a PDF.

Further documentation.

BackgroundStyleProperties Functions

getBackgroundColor PDFPageStyleProperties.getBackgroundColor( ) Background color.
setBackgroundColor PDFPageStyleProperties.setBackgroundColor( backgroundColor ) Sets the background color, this is equivalent to the CSS background-color property and any valid value for this CSS property can be used.
getBackgroundImage PDFPageStyleProperties.getBackgroundImage( ) URL of the background image.
setBackgroundImage PDFPageStyleProperties.setBackgroundImage( backgroundImage ) Sets the URL of the background image.
getBackgroundImagePosition PDFPageStyleProperties.getBackgroundImagePosition( ) Background image position.
setBackgroundImagePosition PDFPageStyleProperties.setBackgroundImagePosition( backgroundImagePosition ) Sets the background image position.
getBackgroundImageRepeat PDFPageStyleProperties.getBackgroundImageRepeat( ) Background image repeat property.
setBackgroundImageRepeat PDFPageStyleProperties.setBackgroundImageRepeat( backgroundImageRepeat ) Sets the background image repeat property.

BorderStyleProperties Functions

getBorderColor PDFPageStyleProperties.getBorderColor( ) Border color applied to all borders.
setBorderColor PDFPageStyleProperties.setBorderColor( borderColor ) Sets border color.
getBorderRadius PDFPageStyleProperties.getBorderRadius( ) Border radius.
setBorderRadius PDFPageStyleProperties.setBorderRadius( borderRadius ) Sets border radius.
getBorderStyle PDFPageStyleProperties.getBorderStyle( ) Border style applied to all borders.
setBorderStyle PDFPageStyleProperties.setBorderStyle( borderStyle ) Sets border style.
getBorderWidth PDFPageStyleProperties.getBorderWidth( ) Border width applied to all four borders.
setBorderWidth PDFPageStyleProperties.setBorderWidth( borderWidth ) Sets the border width applied to all four borders.
getBottomBorderWidth PDFPageStyleProperties.getBottomBorderWidth( ) Bottom border width, overriding property borderWidth.
setBottomBorderWidth PDFPageStyleProperties.setBottomBorderWidth( bottomBorderWidth ) Sets the bottom border width, overriding property borderWidth.
getLeftBorderWidth PDFPageStyleProperties.getLeftBorderWidth( ) Left border width, overriding property borderWidth.
setLeftBorderWidth PDFPageStyleProperties.setLeftBorderWidth( leftBorderWidth ) Sets the left border width, overriding property borderWidth.
getRightBorderWidth PDFPageStyleProperties.getRightBorderWidth( ) Right border width, overriding property borderWidth.
setRightBorderWidth PDFPageStyleProperties.setRightBorderWidth( rightBorderWidth ) Sets the right border width, overriding property borderWidth.
getTopBorderWidth PDFPageStyleProperties.getTopBorderWidth( ) Top border width, overriding property borderWidth.
setTopBorderWidth PDFPageStyleProperties.setTopBorderWidth( topBorderWidth ) Sets the top border width, overriding property borderWidth.

MarginStyleProperties Functions

getAllMargin PDFPageStyleProperties.getAllMargin( ) Single MarginStyleProperties size value used for top, bottom, left and right margin.
setAllMargin PDFPageStyleProperties.setAllMargin( allMargin ) Sets the MarginStyleProperties size value used for top, bottom, left and right margin.
getBottomMargin PDFPageStyleProperties.getBottomMargin( ) Bottom MarginStyleProperties size value.
setBottomMargin PDFPageStyleProperties.setBottomMargin( bottomMargin ) Sets the bottom MarginStyleProperties size value.
getLeftMargin PDFPageStyleProperties.getLeftMargin( ) Left MarginStyleProperties size value.
setLeftMargin PDFPageStyleProperties.setLeftMargin( leftMargin ) Sets the left MarginStyleProperties size value.
getRightMargin PDFPageStyleProperties.getRightMargin( ) Right MarginStyleProperties size value.
setRightMargin PDFPageStyleProperties.setRightMargin( rightMargin ) Sets the right MarginStyleProperties size value.
getTopMargin PDFPageStyleProperties.getTopMargin( ) Top MarginStyleProperties size value.
setTopMargin PDFPageStyleProperties.setTopMargin( topMargin ) Sets the top MarginStyleProperties size value.

PaddingStyleProperties Functions

getAllPadding PDFPageStyleProperties.getAllPadding( ) Single PaddingStyleProperties size value used for top, bottom, left and right padding.
setAllPadding PDFPageStyleProperties.setAllPadding( allPadding ) Sets the PaddingStyleProperties size value used for top, bottom, left and right padding.
getBottomPadding PDFPageStyleProperties.getBottomPadding( ) Bottom PaddingStyleProperties size value.
setBottomPadding PDFPageStyleProperties.setBottomPadding( bottomPadding ) Sets the bottom PaddingStyleProperties size value.
getLeftPadding PDFPageStyleProperties.getLeftPadding( ) Left PaddingStyleProperties size value.
setLeftPadding PDFPageStyleProperties.setLeftPadding( leftPadding ) Sets the left PaddingStyleProperties size value.
getRightPadding PDFPageStyleProperties.getRightPadding( ) Right PaddingStyleProperties size value.
setRightPadding PDFPageStyleProperties.setRightPadding( rightPadding ) Sets the right PaddingStyleProperties size value.
getTopPadding PDFPageStyleProperties.getTopPadding( ) Top PaddingStyleProperties size value.
setTopPadding PDFPageStyleProperties.setTopPadding( topPadding ) Sets the top PaddingStyleProperties size value.