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