TX Text Control .NET Server

LoadEmbeddedComments Property

Property
Namespace
TXTextControl.Web.MVC.DocumentViewer
Package
TXTextControl.Web.DocumentViewer as TXTextControl.Web.MVC.DocumentViewer.dll from nuget.org, the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.Web.DocumentViewer.Classic as TXTextControl.Web.MVC.DocumentViewer.dll

Description

Specifies whether comments from the document should be loaded as annotations.

Syntax

public bool LoadEmbeddedComments { get; set; }

Examples

The following example configures DocumentLoadSettings.LoadEmbeddedComments and checks the resulting web document component setting before it is used.

documentLoadSettings.LoadEmbeddedComments = true;
if (documentLoadSettings.LoadEmbeddedComments)
{
    Console.WriteLine("Load Embedded Comments is enabled for Document Load Settings.");
}