CPDF_Dictionary is a class in the MuPDF library, a C++ library for working with PDF documents. The SetAtReference method is used to set a key-value pair in the dictionary, where the value is a reference to another object in the PDF document.
In this example, we create two dictionaries, `dict` and `sub_dict`. We set a new name value with the key `"name"` in `sub_dict`. Then, we set the key `"person_info"` to a reference to `sub_dict` in `dict` using the SetAtReference method.
In this example, we create a dictionary `dict` and an array `array`. We add two name values to the array. Then, we set the key `"person_info"` to a reference to `array` in `dict` using the SetAtReference method.
Overall, the CPDF_Dictionary SetAtReference method is used to set a reference to another PDF object in a PDF dictionary. It is a part of the MuPDF C++ library for working with PDF documents.
C++ (Cpp) CPDF_Dictionary::SetAtReference - 18 examples found. These are the top rated real world C++ (Cpp) examples of CPDF_Dictionary::SetAtReference extracted from open source projects. You can rate examples to help us improve the quality of examples.