Make a tag with a unique ID.

 

   

Syntax
 

[C#]
Tag MakeTag(string type)

 

   

Params
 
Name Description
type The type of structure element. For example P is a paragraph.

 

   

Notes
 

Make a tag with a unique ID.

Normally you can just call Open with the name of a tag. However sometimes you may have custom elements you want to add to the tag before it is committed to the document.

In this case you would want the following sequence.

  1. Call MakeTag
  2. Add any Attributes or Objects to the tag
  3. Call Open with the finished tag
  4. Add your content
  5. Call Close with the tag name

 

   

Example
 
None.