Text library functions

Function Name Description
TX_Change2TitleCase Change a String to Title Case
TX_CreateMText Create a Multiline text object
TX_CurveText Create text along a curve
Tx_DisplayDLG Text display dialog box
TX_Display Displays the given list of text strings in a dialog box
TX_ExtractXML Reads an XML file and extracts a complete section info
TX_ExtractXMLValue Reads an XML string and extracts a value part only
TX_File2Lst Read a text file and capture all its lines information into a list
TX_GetAllStyles Returns all defined text styles in current drawing
TX_GetJust Get the justification of the text from the two flags 72 and 73
TX_LoadStyle Loads a given text style with default parameters
TX_Lst2File Write a list of strings into a file. After the file is written, it is closed.
TX_Rotate Rotates a text around its geometric center
TX_SetStyleParams Set a current text style and height
TX_SortByDistance Sorts a selection of text by its nearness to a given point
TX_TextBox Creates a box around a text using the textbox function and returns the four points of the box
TX_TitleCase Change given word to Title case (eg. RAKESH RAO becomes Rakesh Rao)
TX_Txt2AttDef Convert a text object to an ATTDEF object