PDFCosDictionary¶
Namespace: O2S.Components.PDF4NET.Core.Cos
Defines a PDF COS dictionary.
Inheritance Object → PDFCosObject → PDFCosDictionary
Constructors¶
PDFCosDictionary()¶
Initializes a new PDFCosDictionary object.
Properties¶
Count¶
Gets the number of key/value pairs contained in the Dictionary.
Property Value
Item¶
Property Value
Item¶
Property Value
Keys¶
Gets a collection containing the keys in the Dictionary.
Property Value
String[]
A string array containing the keys in the Dictionary.
Type¶
Gets the object type.
Property Value
Methods¶
GetKeyValueAsBool(PDFCosName, Boolean)¶
Gets the value of the specified key as a boolean.
Parameters
key PDFCosName
Key to return.
defaultValue Boolean
Default value to return if the key does not exist.
Returns
Boolean
The key value
GetKeyValueAsNumber(PDFCosName, Double)¶
Gets the value of the specified key as a double.
Parameters
key PDFCosName
Key to return.
defaultValue Double
Default value to return if the key does not exist.
Returns
Double
The key value
GetKeyValueAsString(PDFCosName, String)¶
Gets the value of the specified key as a string.
Parameters
key PDFCosName
Key to return.
defaultValue String
Default value to return if the key does not exist.
Returns
String
The key value
ToString()¶
Returns a String that represents the current Object.
Returns
String
String that represents the current Object.