<< Click to Display Table of Contents >> VpeCreateTextBlock |
[Not supported by the Community Edition]
Creates a Text Block Object from a given text. The current font properties are assigned to the object, i.e. font name, font size, bold, italic, underlined.
Professional Edition and higher: The font properties can be changed while fragments of the text are inserted into the document.
VpeHandle VpeCreateTextBlock(
VpeHandle hDoc,
LPCSTR text
)
VpeHandle hDoc
Document Handle or VPE Object Handle
LPCSTR text
the text which is assigned to the Text Block Object
Returns:
A handle for the newly created Text Block Object. This handle is supplied to methods and properties of the Text Block Object.