PDF Setup XML

Controls the setup of the PDF output when a user chooses to create a PDF from the web part view.

Example:

<PDFConfig>

<Config>

<PageWidth>800</PageWidth>

<ShowFooter>True</ShowFooter>

</Config>

</PDFConfig>


AdjustFontSize – Integer

Automatically adjust the font size to match to the page size.

AvoidTextBreak – Boolean

When enabled, avoids text breaks near the page end.

BottomMargin – Integer

The pixel size of the bottom margin within each PDF page.

DrawFooterLine – Boolean

When enabled, shows a line after the content and before the footer within the PDF page.

DrawHeaderLine – Boolean

When enabled, shows a line before the content and after the header within each PDF page.

FooterBackColor – String

Controls the background color of the footer area of a PDF page.

FooterHeight – Integer

Controls the footer height within a PDFpage.

FooterText – String

Controls the text used within the footer of a PDF page.

FooterTextColor – String

Controls the text color used within the footer for a PDF page.

FooterTextFontSize – Integer

Controls the font size used within the footer of each PDF page.

FooterTextFontType – String

Controls the font type used within a footer of each PDF Page.

Options:

      Helvetica

      HelveticaBold

      HelveticaOblique

      HelvetivaBoldOblique

      Courier

      CourierBold

      CourierOblique

      CourierBoldOblique

      TimesRoman

      TimesBold

      TimesBoldItalic

      TimesItalic

      Symbol

      ZapfDingbats

GenerateSelectablePdf

Enables links within the PDF document.

HeaderBackColor – String

Controls the background color of the header area of a PDF page.

HeaderHeight – Integer

Controls the Hheader height within a PDFpage.

HeaderSubtitleText – String

Controls the text used within the Header Sub Title of a PDF page.

HeaderSubtitleTextColor – String

Controls the text color used within the Header Sub Title of a PDF page.

HeaderSubtitleTextFontSize – Integer

Controls the font size used within the Header Sub Title of a PDF page.

HeaderSubtitleTextFontType – String

Controls the font type used within a Header Sub Title of a PDF page.

Options:

      Helvetica

      HelveticaBold

      HelveticaOblique

      HelvetivaBoldOblique

      Courier

      CourierBold

      CourierOblique

      CourierBoldOblique

      TimesRoman

      TimesBold

      TimesBoldItalic

      TimesItalic

      Symbol

      ZapfDingbats

HeaderText – String

Controls the text used within the header of a PDF page.

HeaderTextColor – String

Controls the text color used within the header for a PDF page.

HeaderTextFontSize – Integer

Controls the font size used within the header of a PDF page.

HeaderTextFontType – String

Controls the font type used within a header of a PDF Page.

Options:

      Helvetica

      HelveticaBold

      HelveticaOblique

      HelvetivaBoldOblique

      Courier

      CourierBold

      CourierOblique

      CourierBoldOblique

      TimesRoman

      TimesBold

      TimesBoldItalic

      TimesItalic

      Symbol

      ZapfDingbats

HeaderTextYLocation – Integer

The vertical center location where the header text will be printed. Use 400 for center of an 800 width page.

HeaderTitleSubtitleYSpacing – Integer

The vertical center location where the Header Sub Title text will be printed. Use 400 for center of an 800 width page.

LeftMargin – Integer

The pixel size of the left margin within each PDF page.

PageHeight – Integer

The maximum PDF page height, stated in pixels.

PageNumberText – String

Text to be displayed in page number area of each PDF Page.

PageNumberTextColor – String

Text color of the page number displayed within each PDF Page.

PageNumberTextFontSize – Integer

Size of font used for the page number display within each PDF page.

PageNumberTextFontType – String

Type of font used for the page number display within each PDF page.

Options:

      Helvetica

      HelveticaBold

      HelveticaOblique

      HelvetivaBoldOblique

      Courier

      CourierBold

      CourierOblique

      CourierBoldOblique

      TimesRoman

      TimesBold

      TimesBoldItalic

      TimesItalic

      Symbol

      ZapfDingbats

PageWidth – Integer

The maximum PDF width, stated in pixels.

PdfCompressionLevel – String

Controls the compression level used within creating the PDF.

Options:

      AboveNormal - Better compression but takes more time to compress 

      BelowNormal - Something middle between normal and BestSpeed compressions 

      Best - Uses the best compression but takes more time to compress 

      BestSpeed - The compression speed is high, but the compression percentage is low 

      NoCompression - Does not do any compression 

      Normal - Uses normal compression, a balance between compression speed and resulted size 

PdfPageOrientation – String

The page orientation of the PDF.

Options:

      Portrait

      Landscape

PdfPageSize – String

The page size of the PDF. Predefines, the margins, width, and height.

Options:

      Letter - Letter format 

      Note - Note format 

      Legal - Legal format 

      A0 - A0 format 

      A1 - A1 format 

      A2 - A2 format 

      A3 - A3 format 

      A4 - A4 format 

      A5 - A5 format 

      A6 - A6 format 

      A7 - A7 format 

      A8 - A8 format 

      A9 - A9 format 

      A10 - A0 format 

      B0 - B0 format 

      B1 - B1 format 

      B2 - B2 format 

      B3 - B3 format 

      B4 - B4 format 

      B5 - B5 format 

      ArchE - ArchE format 

      ArchD - ArchD format 

      ArchC - ArchC format 

      ArchB - ArchB format 

      ArchA - ArchA format 

      Flsa - Flsa format 

      HalfLetter - HalfLetter format 

      Letter11x17 - 11x17 format 

      Ledger - Ledger format 

RightMargin – Integer

The pixel size of the right margin within each PDF page.

ShowFooter – Boolean

When enabled, shows a footer at the bottom of each PDF page.

ShowHeader – Boolean

When enabled, shows a header at the top of each PDF page.

TopMargin – Integer

The pixel size of the top margin within each PDF page.

ShowPageNumber – Boolean

When enabled, shows a page number within the footer area of each PDF page.

Back to Top