Property this
this[string]
Gets or sets an entry in the dictionary. The specified key must be a valid PDF name starting with a slash '/'. This property provides full access to the elements of the PDF dictionary. Wrong use can lead to errors or corrupt PDF files. TODO: review: New in 6.3: Gets or sets an entry in the dictionary. The getter returns null if no value with the specified key exists. If the value is a PdfReference this value is returned, i.e. in contrast to GetValue it is not dereferenced to its indirect object. The setter throws an ArgumentNullException if the value is null. If you try to set an indirect object its PdfReference is set instead. It is not possible to have a .NET reference to an indirect PdfObject.
public PdfItem? this[string key] { get; set; }
Parameters
keystring
Property Value
this[Name]
Gets or sets an entry in the dictionary identified by a Name.
public PdfItem? this[Name name] { get; set; }
Parameters
nameName
Property Value
this[PdfName]
Gets or sets an entry in the dictionary identified by a PdfName object.
public PdfItem? this[PdfName key] { get; set; }
Parameters
keyPdfName