Skip to content

PdfCosDictionary.GetKeyValueAsBool Method

GetKeyValueAsBool(PdfCosName,Boolean)

Gets the value of the specified key as a boolean.

C#
public bool GetKeyValueAsBool(PdfCosName key, bool defaultValue)

Parameters

key PdfCosName

Key to return.

defaultValue Boolean

Default value to return if the key does not exist.