OpenXmlElementAddAddressBookmark Method
Add a bookmark for an address attribute
Namespace: Sandcastle.Core.PresentationStyle.Transformation.Elements.OpenXmlAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static void AddAddressBookmark(
XElement content,
string uniqueId
)
Public Shared Sub AddAddressBookmark (
content As XElement,
uniqueId As String
)
public:
static void AddAddressBookmark(
XElement^ content,
String^ uniqueId
)
static member AddAddressBookmark :
content : XElement *
uniqueId : string -> unit
Parameters
- content XElement
- The content element to which the bookmark is added
- uniqueId String
- The unique ID to use for the bookmark
Open XML does not support ID attributes like HTML. Instead, it renders bookmarks with the
unique IDs that will be used as the link targets. The Open XML file builder task will reformat the
bookmark name and ID to ensure that they are all unique.