Table of Contents

Method AsReference

Namespace
PdfSharp.Pdf.PdfItemExtensions
Assembly
PdfSharp.dll

AsReference(PdfItem?)

Casts a PDF item into a PDF reference, or throws an exception if this is not possible.

public static PdfReference AsReference(this PdfItem? value)

Parameters

value PdfItem

Returns

PdfReference