TX Text Control .NET Server

Document Property

Property
Namespace
TXTextControl.Web.MVC.DocumentViewer.Models
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

Gets or sets the signed document bytes as Base64.

Syntax

public string Document { get; set; }

Examples

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

signatureDocument.Document = "Quarterly report";
if (!string.IsNullOrWhiteSpace(signatureDocument.Document))
{
    Console.WriteLine($"Document: {signatureDocument.Document}");
}

Comments

Native signing produces TX Text Control Internal Unicode Format, even when the source document has another format. A completion service may replace these bytes; this contract does not carry a format or MIME type.