Aspose::Pdf::DataEditor::CosPdfDictionary::TryGetValue method

CosPdfDictionary::TryGetValue method

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

bool Aspose::Pdf::DataEditor::CosPdfDictionary::TryGetValue(const System::String &key, System::SharedPtr<ICosPdfPrimitive> &value) const override
ParameterTypeDescription
keyconst System::String&Key value
valueSystem::SharedPtr<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