Класс Aspose::Pdf::DataEditor::DictionaryEditor
Содержание
[
Скрывать
]DictionaryEditor class
Класс для доступа к древовидному словарю документа (словарь документа, словарь страниц, словарь ресурсов).
class DictionaryEditor : public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<ICosPdfPrimitive>>
Методы
| Метод | Описание |
|---|---|
| Add(const System::String&, const System::SharedPtr<ICosPdfPrimitive>&) override | Установите ICosPdfPrimitive в словарь. |
| Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Установите ICosPdfPrimitive в словарь. |
| Clear() override | Удаляет все элементы из DictionaryEditor. |
| Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) const override | Определяет, содержит ли DictionaryEditor конкретное значение. |
| ContainsKey(const System::String&) const override | Определяет, содержит ли DictionaryEditor элемент с указанным ключом. |
| CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>>, int32_t) override | Копирует элементы DictionaryEditor в Array, начиная с определённого индекса Array. |
| DictionaryEditor(const System::SharedPtr<Page>&) | ArgumentNullException |
| DictionaryEditor(const System::SharedPtr<Document>&) | ArgumentNullException |
| DictionaryEditor(const System::SharedPtr<Resources>&) | ArgumentNullException |
| get_AllKeys() const | Полный набор ключей. Содержит редактируемые и не редактируемые ключи. |
| get_Count() const override | Возвращает количество элементов, содержащихся в DictionaryEditor. |
| get_IsReadOnly() const override | Возвращает значение, указывающее, является ли DictionaryEditor только для чтения. |
| get_Keys() const override | Collection редактируемых ключей. |
| get_Values() const override | Возвращает ICollection, содержащий значения из DictionaryEditor. |
| GetEnumerator() override | Возвращает перечислитель, который проходит по коллекции. |
| idx_get(const System::String&) const override | Получает элемент с указанным ключом. |
| idx_set(const System::String&, System::SharedPtr<ICosPdfPrimitive>) override | Устанавливает элемент с указанным ключом. |
| Remove(const System::String&) override | Удаляет элемент с указанным ключом из DictionaryEditor. |
| Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Удаляет первое вхождение конкретного объекта из DictionaryEditor. |
| TryGetValue(const System::String&, System::SharedPtr<ICosPdfPrimitive>&) const override | Для доступа к простым типам данных, таким как string, name, bool, number. Возвращает null для других типов. |
См. также
- Class IDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++