Aspose::Pdf::Text::FontCollection::Contains method
FontCollection::Contains(const System::SharedPtr<Font>&) const method
Determines whether the collection contains a specific value.
bool Aspose::Pdf::Text::FontCollection::Contains(const System::SharedPtr<Font> &item) const override
Parameter | Type | Description |
---|---|---|
item | const System::SharedPtr<Font>& | The object to locate in the collection |
ReturnValue
true if item is found in the collection; otherwise, false.
See Also
- Class Font
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontCollection::Contains(const System::String&) const method
Checks if font exists in font collection.
bool Aspose::Pdf::Text::FontCollection::Contains(const System::String &name) const
Parameter | Type | Description |
---|---|---|
name | const System::String& | Font name. |
ReturnValue
True in case collection contains the font with specified name.
See Also
- Class FontCollection
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++