ApiSessionCreateDocumentText Method (UInt64, HierarchyAdjustment, String, String, String) |
Adds a new Text section to a document
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public ObjectProxy CreateDocumentText(
ulong aContextElementId,
HierarchyAdjustment aHierarchy,
string aDisplayName = "",
string aText = "",
string aTemplateTechName = null
)
Parameters
- aContextElementId
- Type: SystemUInt64
the id of the element to be used as reference for placing the new section - aHierarchy
- Type: Articy.ApiHierarchyAdjustment
determines where the new element should be placed. - aDisplayName (Optional)
- Type: SystemString
the chapter caption for this section - aText (Optional)
- Type: SystemString
the text for the chapter - aTemplateTechName (Optional)
- Type: SystemString
a template technical name if the section should get a template null otherwise.
Return Value
Type:
ObjectProxythe newly created text section
See Also