Aspose::Pdf::CollectionItem::TryGetTextValue method

CollectionItem::TryGetTextValue method

Tries to get the text value with the specified name from the collection item.

bool Aspose::Pdf::CollectionItem::TryGetTextValue(System::String name, System::SharedPtr<CollectionItem::Value<System::String>> &value)
ParameterTypeDescription
nameSystem::StringThe name of the text value.
valueSystem::SharedPtr<CollectionItem::Value<System::String>>&When this method returns, contains the text value associated with the specified name, if the name is found; otherwise, null.

ReturnValue

true if the text value with the specified name is found; otherwise, false.

See Also