VS:GetTextFont: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:32, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Procedure GetTextFont returns the font of the referenced text object at a specified position in the string.
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.
FUNCTION GetTextFont(
objectHd :HANDLE;
Position :INTEGER) : INTEGER;
def vs.GetTextFont(objectHd, Position): return INTEGER
Parameters
objectHd HANDLE Handle to text object. Position INTEGER Position in text string.
Example
VectorScript
fontID:=GetTextFont(handleToText,2);
Python
fontID = vs.GetTextFont(handleToText,2)
Version
See Also
VS Functions:
VS Functions:
[[VS:GetFontName]]
| [[VS:GetFontID]]