DocumentData 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 viewer document before signing as Base64 data.
Syntax
public string DocumentData { get; set; }Public Property DocumentData As StringExamples
The following example configures SignatureData.DocumentData and checks the resulting web document component setting before it is used.
signatureData.DocumentData = "Quarterly report";
if (!string.IsNullOrWhiteSpace(signatureData.DocumentData))
{
Console.WriteLine($"Document Data: {signatureData.DocumentData}");
}signatureData.DocumentData = "Quarterly report"
If Not String.IsNullOrWhiteSpace(signatureData.DocumentData) Then
Console.WriteLine($"Document Data: {signatureData.DocumentData}")
End IfComments
The current viewer document need not have the format of the originally loaded file.