This is a convenience function. It has the same effect as calling txTextIni followed by a call to txTextMakeViaStream.
Parameter | Description |
---|---|
text_doc |
See txTextIni. |
engine |
See txTextMakeViaStream. |
text_type |
See txTextMakeViaStream. |
text_sd |
See txTextMakeViaStream. |
unicode_flags |
See txTextMakeViaStream. |
area |
See txTextMakeViaStream. |
text_attribs |
See txTextMakeViaStream. |
fontmap_sd |
See txTextMakeViaStream. |
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 txTextMakeViaStream.