AutoTextAdd Method |  |
Add the AutoText at selection
Namespace:
SOWIDocument.Word
Assembly:
SOWIDocument.Word (in SOWIDocument.Word.dll) Version: 22.2.10.1 (22.2.10.450)
Syntaxinternal OpenXmlElement Add(
ref OpenXmlElement pSelection,
string pAutoTextName,
bool pNewParagraph = false
)
Friend Function Add (
ByRef pSelection As OpenXmlElement,
pAutoTextName As String,
Optional pNewParagraph As Boolean = false
) As OpenXmlElement
Parameters
- pSelection
- Type: OpenXmlElement
Document selection to insert text - pAutoTextName
- Type: SystemString
AutoText name to insert - pNewParagraph (Optional)
- Type: SystemBoolean
Insert a new paragraph after section
Return Value
Type:
OpenXmlElementGives a selection or a paragraph (on parameter
pNewParagraph)
See Also