maptek.vulcan.text
Interface for Vulcan design text (2D).
num_lines (text self) → int
Returns the number of text lines.
get_line (text self, int line_num) → std::string
Gets a line of text by index.
append (text self, std::string const & line)
Appends a line of text.
set_line (text self, int line_num, std::string const & line)
Sets a line of text by index.
delete_line (text self, int line_num)
Deletes a line of text by index.
delete_all_lines (text self)
Deletes all lines of text.
get_origin (text self) → point
Gets the text origin point.
set_origin (text self, point pt)
Sets the text origin point.
get_angle (text self) → double
Gets the text angle.
set_angle (text self, double angle)
Sets the text angle.
get_scale (text self) → std::string
Gets the text scale.
set_scale (text self, std::string const & scale)
Sets the text scale.
get_height (text self) → double
Gets the text height.
set_height (text self, double height)
Sets the text height.
get_width (text self) → double
Gets the text width.
set_width (text self, double width)
Sets the text width.
get_font (text self) → std::string
Gets the text font.
set_font (text self, std::string const & font)
Sets the text font.
is_framed (text self) → bool
Text frame status (bool)
set_framed (text self, bool frame=True)
Sets/Removes text frame.
origin
Text origin
angle
Text angle
scale
Text scale
height
Text height
width
Text width
font
Text font
framed
Is text framed