Skip to content

PdfAttributeClassMap.CreateMapping Method

Overloads

Name Description
CreateMapping(String,PdfStructureElementAttribute) Creates a mapping between a name and an attribute.
CreateMapping(String,PdfStructureElementAttributeCollection) Creates a mapping between a name and an attribute collection.

CreateMapping(String,PdfStructureElementAttribute)

Creates a mapping between a name and an attribute.

C#
public void CreateMapping(string name, PdfStructureElementAttribute 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.

C#
public void CreateMapping(string name, PdfStructureElementAttributeCollection attributes)

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.