Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.1 KB

File metadata and controls

59 lines (50 loc) · 1.1 KB

GetTextStyle

Description

Procedure GetTextStyle returns the text style at a specified position within the referenced text object.

The position is in a range between 0 and 32767, representing a character position in the text string. An index of 0 refers to the first character in the string.

{| class="wikitable_c" |+ Table - Text Style

! Style !! Constant
Plain
style="text-align:center"
-
Bold
style="text-align:center"
-
Italic
style="text-align:center"
-
Underline
style="text-align:center"
-
Outline
style="text-align:center"
-
Shadowed
style="text-align:center"
-
Superscript (VW 2011+)
style="text-align:center"
-
Subscript (VW 2011+)
style="text-align:center"
}
FUNCTION GetTextStyle(
				TextHd   : HANDLE;
				Position : INTEGER): INTEGER;
def vs.GetTextStyle(TextHd, Position):
    return INTEGER

Parameters

Name Type Description
TextHd HANDLE Handle to text object.
Position INTEGER Position in text string.

Version

Availability: from MiniCAD 6.0

Category

  • Objects - Text