Method AsDictionary
- Namespace
- PdfSharp.Pdf.PdfItemExtensions
- Assembly
- PdfSharp.dll
AsDictionary(PdfItem?)
Casts a PDF item into a PDF dictionary of type T, or throws an exception if this is not possible.
public static PdfDictionary AsDictionary(this PdfItem? value)
Parameters
valuePdfItem
Returns
AsDictionary<T>(PdfItem?)
Casts a PDF item into a PDF dictionary of type T, or throws an exception if this is not possible.
public static T AsDictionary<T>(this PdfItem? value) where T : PdfDictionary
Parameters
valuePdfItem
Returns
- T
Type Parameters
T