Aspose::Pdf::Text::FontCollection::Contains metod

FontCollection::Contains(const System::SharedPtr<Font>&) const method

Bestämmer om samlingen innehåller ett specifikt värde.

bool Aspose::Pdf::Text::FontCollection::Contains(const System::SharedPtr<Font> &item) const override
ParameterTypBeskrivning
objektconst System::SharedPtr<Font>&Objektet att leta efter i samlingen

ReturnValue

true om objektet hittas i samlingen; annars false.

Se även

FontCollection::Contains(const System::String&) const method

Kontrollerar om teckensnittet finns i teckensnittssamlingen.

bool Aspose::Pdf::Text::FontCollection::Contains(const System::String &name) const
ParameterTypBeskrivning
nameconst System::String&Font namn.

ReturnValue

Sant om samlingen innehåller teckensnittet med angivet namn.

Se även