ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / MaxHeaderBookmarkLevel Property

In This Topic
    MaxHeaderBookmarkLevel Property (C1PdfDocument)
    In This Topic
    Gets or sets the maximum header level to create bookmarks for when rendering HTML text.
    Syntax
    'Declaration
     
    
    Public Property MaxHeaderBookmarkLevel As Integer
    public int MaxHeaderBookmarkLevel {get; set;}
    Remarks

    Setting this property to a value greater than zero causes C1PdfDocument to bookmark heading tags when rendering HTML strings. The value determines the maximum heading level to bookmark. For example, setting this property to one will bookmark all "H1" tags. Setting it to four will bookmark "H1" through "H4", etc.

    By default, this property is set to zero, which prevents the generation of heading bookmarks.

    See Also