Document Solutions for PDF
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / PdfSettings Class / HeaderTemplate Property

In This Topic
    HeaderTemplate Property (PdfSettings)
    In This Topic
    Gets or sets the HTML template for the page header.

    This should be a valid HTML markup that may include the following special classes used to inject print values:

    • formatted print date
    • document title
    • document location
    • current page number
    • total pages in the document

    For example, "<span class='title'></span>" would generate a span containing the document title.

    Syntax
    'Declaration
     
    Public Property HeaderTemplate As System.String
    public System.string HeaderTemplate {get; set;}
    See Also