Table of Contents

Method GetRequiredValue

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

GetRequiredValue(int, VCF, Type?)

  • throws if valueType does not match
public PdfItem GetRequiredValue(int index, VCF options = VCF.None, Type? valueType = null)

Parameters

index int
options VCF
valueType Type

Returns

PdfItem

GetRequiredValue<T>(int, VCF)

  • throws if result is not of type T.
public T GetRequiredValue<T>(int index, VCF options = VCF.None) where T : PdfItem

Parameters

index int
options VCF

Returns

T

Type Parameters

T