DocumentLoadSettings Property
- Namespace
TXTextControl.Web. MVC. DocumentViewer
- 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 settings for loading the document.
Syntax
public DocumentLoadSettings DocumentLoadSettings { get; set; }Public Property DocumentLoadSettings As DocumentLoadSettingsExamples
The following example configures DocumentViewerSettings.DocumentLoadSettings and checks the resulting web document component setting before it is used.
documentViewerSettings.DocumentLoadSettings = new TXTextControl.Web.MVC.DocumentViewer.DocumentLoadSettings();
if (documentViewerSettings.DocumentLoadSettings != null)
{
Console.WriteLine("Document Load Settings is available for Document Viewer Settings.");
}documentViewerSettings.DocumentLoadSettings = New TXTextControl.Web.MVC.DocumentViewer.DocumentLoadSettings()
If documentViewerSettings.DocumentLoadSettings IsNot Nothing Then
Console.WriteLine("Document Load Settings is available for Document Viewer Settings.")
End If