C# Class PdfRpt.FluentInterface.PagesHeaderBuilder

Pages Header Builder Class.
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
CacheHeader ( bool cache = true ) : void

You can define different headers for each page. If all of the headers of the document's pages are the same, set this value to true, to optimize the performance and document size. Its default value is true.

CustomHeader ( IPageHeader header ) : void

Defines dynamic headers for pages and individual groups.

DefaultHeader ( Action defaultHeaderProviderBuilder ) : void

Using the predefined DefaultHeaderProvider class.

InlineHeader ( Action inlineHeaderProviderBuilder ) : void

Defines dynamic headers of the pages and individual groups.

PagesHeaderBuilder ( PdfReport pdfReport ) : System

ctor.

XHtmlHeader ( Action htmlHeaderProviderBuilder ) : void

Using the predefined XHtmlHeaderProvider class.

Method Details

CacheHeader() public method

You can define different headers for each page. If all of the headers of the document's pages are the same, set this value to true, to optimize the performance and document size. Its default value is true.
public CacheHeader ( bool cache = true ) : void
cache bool true or false
return void

CustomHeader() public method

Defines dynamic headers for pages and individual groups.
public CustomHeader ( IPageHeader header ) : void
header IPageHeader a dynamic header
return void

DefaultHeader() public method

Using the predefined DefaultHeaderProvider class.
public DefaultHeader ( Action defaultHeaderProviderBuilder ) : void
defaultHeaderProviderBuilder Action Header Provider Builder
return void

InlineHeader() public method

Defines dynamic headers of the pages and individual groups.
public InlineHeader ( Action inlineHeaderProviderBuilder ) : void
inlineHeaderProviderBuilder Action Defines dynamic headers of the pages and individual groups.
return void

PagesHeaderBuilder() public method

ctor.
public PagesHeaderBuilder ( PdfReport pdfReport ) : System
pdfReport PdfReport
return System

XHtmlHeader() public method

Using the predefined XHtmlHeaderProvider class.
public XHtmlHeader ( Action htmlHeaderProviderBuilder ) : void
htmlHeaderProviderBuilder Action Header Provider Builder
return void