Determine whether an Markup is in the MarkupCollection.
Namespace: TallComponents.PDF.Annotations.MarkupsAssembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0
Syntax
| C# |
|---|
public bool Contains( Markup markup ) |
| Visual Basic |
|---|
Public Function Contains ( _ markup As Markup _ ) As Boolean |
Parameters
- markup
- Type: TallComponents.PDF.Annotations.Markups..::..Markup
The Markup to verify.
Return Value
True if the Markup is found in this MarkupCollection, false otherwise.
Remarks
The markup does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given markup is nullNothingnullptra null reference (Nothing in Visual Basic). |