Specifies whether the target can be deleted by the end-user while the document is being edited. The default setting of this property is true.

Syntax

public bool Deleteable { get; set; }
Public Property Deleteable() As Boolean

Examples

The following example shows how to create a DocumentTarget and show its TXTextControl.DocumentTarget.Deleteable Property in a text box.

//Create DocumentTarget
TXTextControl.DocumentTarget newTarget = new TXTextControl.DocumentTarget("Page1");
//Add newTarget to textControl1 DocumentTarget Collection
textControl1.DocumentTargets.Add(newTarget);

// Dsplay DocumentTarget properties in a textbox
textBox1.Text = "*** Begin Test " + System.DateTime.Now + " ***" + Environment.NewLine + Environment.NewLine +
                "<<< Bounds property >>>" + Environment.NewLine +
                "The X Coordinate is: " + newTarget.Bounds.X + Environment.NewLine +
                "The Y Coordinate is: " + newTarget.Bounds.Y + Environment.NewLine +
                "The Width is: " + newTarget.Bounds.Width + Environment.NewLine +
                "The Height is: " + newTarget.Bounds.Height + Environment.NewLine +
                "The Left value is: " + newTarget.Bounds.Left + Environment.NewLine +
                "The Right value is: " + newTarget.Bounds.Right + Environment.NewLine +
                "The Bottom value is: " + newTarget.Bounds.Bottom + Environment.NewLine +
                "The Top value is: " + newTarget.Bounds.Top + Environment.NewLine +
                "The Is Empty value is: " + newTarget.Bounds.IsEmpty + Environment.NewLine +
                "The Size is: " + newTarget.Bounds.Size + Environment.NewLine +
                "The Location value is: " + newTarget.Bounds.Location" + Environment.NewLine +
                "<<< ContainsInputPosition property >>>" + Environment.NewLine +
                "The ContainsInputPosition value is: " +
                newTarget.ContainsInputPosition + Environment.NewLine +
                //Deleteable property
                "<<< Deletable property >>>" + Environment.NewLine +
                "The Deletable value is: " +
                newTarget.Deleteable ;
Dim newTarget As TXTextControl.DocumentTarget = New TXTextControl.DocumentTarget("Page1")
textControl1.DocumentTargets.Add(newTarget)
textBox1.Text = "*** Begin Test " & System.DateTime.Now & " ***" & Environment.NewLine + Environment.NewLine & "<<< Bounds property >>>" + Environment.NewLine & "The X Coordinate is: " + newTarget.Bounds.X + Environment.NewLine & "The Y Coordinate is: " + newTarget.Bounds.Y + Environment.NewLine & "The Width is: " + newTarget.Bounds.Width + Environment.NewLine & "The Height is: " + newTarget.Bounds.Height + Environment.NewLine & "The Left value is: " + newTarget.Bounds.Left + Environment.NewLine & "The Right value is: " + newTarget.Bounds.Right + Environment.NewLine & "The Bottom value is: " + newTarget.Bounds.Bottom + Environment.NewLine & "The Top value is: " + newTarget.Bounds.Top + Environment.NewLine & "The Is Empty value is: " + newTarget.Bounds.IsEmpty + Environment.NewLine & "The Size is: " + newTarget.Bounds.Size + Environment.NewLine & "The Location value is: " + newTarget.Bounds.Location
" + Environment.NewLine +"
"<<< ContainsInputPosition property >>>" & Environment.NewLine & "The ContainsInputPosition value is: " + newTarget.ContainsInputPosition + Environment.NewLine & "<<< Deletable property >>>" + Environment.NewLine & "The Deletable value is: " + newTarget.Deleteable
"<<< ContainsInputPosition property >>>" & Environment.NewLine & "The ContainsInputPosition value is: " + newTarget.ContainsInputPosition + Environment.NewLine & "<<< Deletable property >>>" + Environment.NewLine & "The Deletable value is: " + newTarget.Deleteable