Aspose::Pdf::Utils::DictionaryEditor::TryGetValue method

DictionaryEditor::TryGetValue method

For access to simple data type like string, name, bool, number. Returns null for other types.

bool Aspose::Pdf::Utils::DictionaryEditor::TryGetValue(const System::String &key, System::SharedPtr<PublicData::ICosPdfPrimitive> &value) const override
ParameterTypeDescription
keyconst System::String&Key value
valueSystem::SharedPtr<PublicData::ICosPdfPrimitive>&returns ICosPdfPrimitive for key or null.

ReturnValue

Returns true if ICosPdfPrimitive is like string, name, bool, number. Returns false for all other types.

See Also