PdfOptionsUseOriginalContentOrdering Property
Specifies content ordering mode when rendering into HTML. The default value is false.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public bool UseOriginalContentOrdering { get; set; }

Property Value

Type: Boolean
Remarks
When original content ordering is enabled, text and graphics are rendered into HTML according to z-order in original PDF document. This mode is preferable for rendering PDF documents with multi-layered layout. When original content ordering is not enabled text and graphics are rendered into HTML as a single layer.
Examples
The following example demonstrates how to enable original content ordering.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();        
HtmlOptions options = new HtmlOptions();
options.PdfOptions.UseOriginalContentOrdering = true;

string guid = "multilayered.pdf";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also