FontCollection.Contains
Contains(string)
Checks if font exists in font collection.
public bool Contains(string name)
Parameter | Type | Description |
---|---|---|
name | String | Font name. |
Return Value
True in case collection contains the font with specified name.
See Also
- class FontCollection
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF
Contains(Font)
Determines whether the collection contains a specific value.
public bool Contains(Font item)
Parameter | Type | Description |
---|---|---|
item | Font | The object to locate in the collection |
Return Value
true if item is found in the collection; otherwise, false.
See Also
- class Font
- class FontCollection
- namespace Aspose.Pdf.Text
- assembly Aspose.PDF