TX Text Control .NET Server

FileFormat Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Web
Package
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.Web.DocumentViewer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies the format of DocumentViewer.SaveDocumentEventArgs.Document.

Syntax

public FileFormat FileFormat { get; }

Examples

The legacy Web Forms document viewer type is not part of the current ASP.NET Core package. The following example uses the current MVC Document Viewer model for the same server-side workflow.

TXTextControl.Web.MVC.DocumentViewer.DocumentLoadSettings documentLoadSettings = new();
documentLoadSettings.LoadEmbeddedComments = true;

Limitations

Read only.