
This is a convenience function. It has the same effect as calling txTextIni followed by a call to txTextMakeViaBuffer.
| Parameter | Description |
|---|---|
|
text_doc |
See txTextIni. |
|
engine |
See txTextMakeViaBuffer. |
|
nr_of_chars |
See txTextMakeViaBuffer. |
|
buffer |
See txTextMakeViaBuffer. |
|
buffer_format |
See txTextMakeViaBuffer. |
|
unicode_flags |
See txTextMakeViaBuffer. |
|
area |
See txTextMakeViaBuffer. |
|
text_attribs |
See txTextMakeViaBuffer. |
|
fontmap_sd |
See txTextMakeViaBuffer. |
If the new Unicode text document was built successfully, the return value will be the number of its characters. Otherwise, the function returns -1 and text_doc holds DV_NULL.
See txTextIni and txTextMakeViaBuffer.
