ToolBar Property
- Namespace
TXTextControl.DocumentServer. Web
- Package
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWeb. DocumentViewer. dll
Description
Specifies whether the document viewer's tool bar is displayed or not.
Syntax
public bool ToolBar { get; set; }Public Property ToolBar As BooleanExamples
DocumentServer.Web.DocumentViewer.ToolBar belongs to the legacy Web Forms viewer. In the current ASP.NET Core viewer, configure the server-rendered component through DocumentViewerSettings.ToolbarDocked; interactive page state and styling are handled by the viewer client.
documentViewerSettings.ToolbarDocked = true;
if (documentViewerSettings.ToolbarDocked)
{
Console.WriteLine("Toolbar Docked is enabled for Document Viewer Settings.");
}documentViewerSettings.ToolbarDocked = True
If documentViewerSettings.ToolbarDocked Then
Console.WriteLine("Toolbar Docked is enabled for Document Viewer Settings.")
End If