Table of Contents

Property PreserveStructureInformation

Namespace
BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly
BitMiracle.Docotic.Pdf.HtmlToPdf.dll

PreserveStructureInformation

Gets or sets the value indicating whether the conversion should preserve the structure information (accessibility tags) in the produced PDF.

public bool PreserveStructureInformation { get; set; }

Property Value

bool

true if the conversion should preserve the tags in the produced PDF; otherwise, false.

Remarks

Default value: false.

Documents with the accessibility tags are usually larger than those without structure information. If the source HTML was not prepared with accessibility in mind, the extra information is usually just wastes the space.

You can find a good beginner's guide to HTML Accessibility at https://blog.hubspot.com/website/html-accessibility. There is also a thorough tutorial at https://www.w3schools.com/accessibility/.