[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetName

SetName Method

SetName(IPdfDict, PdfName, string, string)

Sets the PDF Name value associated with the specified key. If the value is null or is equal to defValue, removes the key from the dictionary. Note! The method converts a string to the PdfName.

Declaration
public static void SetName(this IPdfDict dict, PdfName key, string value, string defValue)
Public Shared Sub SetName(dict As IPdfDict, key As PdfName, value As String, defValue As String)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

string value

The value to set.

string defValue

The default value.