MapRole(CosName, CosName) Method

Definition

Assembly Broadside.dll

Maps type, a structure type of the default namespace, to target in the root's RoleMap.

public void MapRole(CosName type, CosName target)

Parameters

type
CosName

The type used in the document, such as a custom Para.

target
CosName

The type it maps to, such as P.

Remarks

ISO 32000-2 Table 354 (RoleMap), §14.7.3: every type of the default namespace is mapped through the role map, even a standard one. Types of other namespaces map through their namespace (MapRole(CosName, PdfStructureType)). Replaces an earlier mapping of the type.