Document Property
- Namespace
TXTextControl.Web. MVC. DocumentViewer. Models
- Package
TXTextControl.asWeb. DocumentViewer TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. MVC. DocumentViewer. dll
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Description
Gets or sets the signed document bytes as Base64.
Syntax
public string Document { get; set; }Public Property Document As StringExamples
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}");
}signatureDocument.Document = "Quarterly report"
If Not String.IsNullOrWhiteSpace(signatureDocument.Document) Then
Console.WriteLine($"Document: {signatureDocument.Document}")
End IfComments
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.