PDFAttributeClassMap¶
Namespace: O2S.Components.PDF4NET.LogicalStructure
Defines mappings between names and attributes or attribute collections.
Inheritance Object → PDFAttributeClassMap
Constructors¶
PDFAttributeClassMap()¶
Initializes a new PDFAttributeClassMap object.
Properties¶
CosDictionary¶
Gets the underlying COS object.
Property Value
PDFCosDictionary
A PDFCosDictionary object representing the underlying COS object.
Methods¶
CreateMapping(String, PDFStructureElementAttribute)¶
Creates a mapping between a name and an attribute.
Parameters
name String
The attribute name.
attribute PDFStructureElementAttribute
A PDFStructureElementAttribute object that represents the attribute.
Remarks
The name used with this method must be used when filling the PDFStructureElement.ClassNames property.
CreateMapping(String, PDFStructureElementAttributeCollection)¶
Creates a mapping between a name and an attribute collection.
Parameters
name String
The attribute name.
attributes PDFStructureElementAttributeCollection
A PDFStructureElementAttributeCollection object that represents the set of attribute.
Remarks
The name used with this method must be used when filling the PDFStructureElement.ClassNames property.
GetNames()¶
Gets the names in this map.
Returns
String[]
An array of strings representing the names in this map.
RemoveMapping(String)¶
Removes the mapping for the specified name.
Parameters
name String
The name for which to remove the mapping.