Skip to main content

HtmlExportOptionsBase.RemoveSecondarySymbols Property

Gets or sets a value indicating whether secondary symbols should be removed from the resulting HTML file, to reduce its size.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public bool RemoveSecondarySymbols { get; set; }

Property Value

Type Default Description
Boolean false

true to remove secondary symbols; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to RemoveSecondarySymbols
Cross-Platform Class Library ExportOptions
WPF Controls ExportOptionsContainer


Use the RemoveSecondarySymbols property to specify whether it’s necessary to remove all secondary symbols (e.g. Space or Carriage Return ones) when a document is exported to HTML. Note that if an HTML document is compressed in this way, it becomes more difficult for anyone to manually read its HTML source, though it still can be reprensented by an appropriate HTML browser.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveSecondarySymbols property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also