Skip to content

PdfCosDictionaryContainer Class

Definition

Namespace: Xfinium.Pdf.Core.Cos

Defines a PDF COS dictionary that can exist by itself (referenced from xref) in the PDF file.

C#
public class PdfCosDictionaryContainer : PdfCosDictionary, IPdfCosObjectContainer

Inheritance: Object → PdfCosObject → PdfCosDictionary → PdfCosDictionaryContainer

Implements: IPdfCosObjectContainer

Constructors

Name Description
PdfCosDictionaryContainer() Initializes a new PdfCosDictionaryContainer object.
PdfCosDictionaryContainer(PdfCosDictionary) Initializes a new PdfCosDictionaryContainer object.

Properties

Name Description
Count Gets the number of key/value pairs contained in the Dictionary.
(inherited from PdfCosDictionary)
FileOffset Gets the object's file offset.
Item Gets or sets the value associated with the specified key.
(inherited from PdfCosDictionary)
Keys Gets a collection containing the keys in the Dictionary.
(inherited from PdfCosDictionary)
OriginalObjectNumber Gets the original object number.
Type Gets the object type.
(inherited from PdfCosObject)

Methods

Name Description
GetKeyValueAsBool Gets the value of the specified key as a boolean.
(inherited from PdfCosDictionary)
GetKeyValueAsNumber Gets the value of the specified key as a double.
(inherited from PdfCosDictionary)
GetKeyValueAsString Gets the value of the specified key as a string.
(inherited from PdfCosDictionary)
ToString Returns a String that represents the current Object.
(inherited from PdfCosDictionary)