[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetPdfStringBytes

GetPdfStringBytes Method

GetPdfStringBytes(IPdfDict, PdfName)

Gets the bytes of the IPdfString associated with the specified key. If the value does not exist or cannot be converted to an IPdfString, returns null.

Declaration
public static byte[] GetPdfStringBytes(this IPdfDict dict, PdfName key)
Public Shared Function GetPdfStringBytes(dict As IPdfDict, key As PdfName) As Byte()
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

Returns
Type Description
byte[]

The value associated with the specified key, or null.