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