BookmarkDialog Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Creates a BookmarkDialog object for the specified Windows Forms TextControl.
Syntax
BookmarkDialog(TextControl)
Creates a BookmarkDialog object for the specified Windows Forms TextControl. If there is a target at the current input position, the name of the target is shown and can be edited. Otherwise a new DocumentTarget can be inserted at the current input position.
public BookmarkDialog(TextControl textControl);Public Sub New(textControl As TextControl)| Parameter | Description |
|---|---|
| textControl | Specifies the TextControl for which the dialog box is opened. |
BookmarkDialog(TextControl, DocumentTarget)
Creates a BookmarkDialog object for the specified Windows Forms TextControl. If the specified DocumentTarget is not null, the name of the target is shown and can be edited. Otherwise a new DocumentTarget can be inserted at the current input position.
public BookmarkDialog(TextControl textControl, DocumentTarget bookmarkToEdit);Public Sub New(textControl As TextControl, bookmarkToEdit As DocumentTarget)| Parameter | Description |
|---|---|
| textControl | Specifies the TextControl for which the dialog box is opened. |
| bookmarkToEdit | Specifies the |
Examples
The following example creates a Bookmark Dialog instance and configures its allow transparency setting for a document workflow.
using BookmarkDialog bookmarkDialog = new(new TextControl());
bookmarkDialog.AllowTransparency = true;Dim bookmarkDialog As New BookmarkDialog(New TextControl())
bookmarkDialog.AllowTransparency = True