# DocumentLoadSettings.LoadEmbeddedComments Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Web.MVC.DocumentViewer`
- **Package:** `TXTextControl.Web.DocumentViewer` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.Web.DocumentViewer.Classic` (assembly `TXTextControl.Web.MVC.DocumentViewer.dll`, from nuget.org)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer > DocumentLoadSettings.LoadEmbeddedComments Property
- **377 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/loadembeddedcomments-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/loadembeddedcomments-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/loadembeddedcomments-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public bool LoadEmbeddedComments { get; set; }
```

```vbnet
Public Property LoadEmbeddedComments As Boolean
```

### Examples

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

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

```vbnet
documentLoadSettings.LoadEmbeddedComments = True
If documentLoadSettings.LoadEmbeddedComments Then
    Console.WriteLine("Load Embedded Comments is enabled for Document Load Settings.")
End If
```

---

## Nearby

- **Previous:** [DocumentLoadSettings Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/constructor/llms-full.txt)
- **Next:** [DocumentLoadSettings.PDFJS Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer/documentloadsettings/pdfjs-property/llms-full.txt)
