Click or drag to resize

APIappendDocXtext Method

Append text to an already opened DocX document
REST path: /op/docx/appendtext/[alignment]/[color]/[bold]/[italic]/[underline]
REST verb: POST
REST body: text

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool appendDocXtext(
	string[] text,
	int alignment = 0,
	int color = 0,
	bool bold = false,
	bool italic = false,
	bool underline = false
)

Parameters

text  String
alignment  Int32  (Optional)
Optional, default is 0. 0=left, 1=center, 2=right, 3=justified
color  Int32  (Optional)
Optional, default is 0. RGB integer value for color
bold  Boolean  (Optional)
Optional, default is false. True for bold
italic  Boolean  (Optional)
Optional, default is false. True for italic
underline  Boolean  (Optional)
Optional, default is false. True for underlined text

Return Value

Boolean
True if successful
See Also