VS:GetMacCommandKeyTextWidthInPixels
Jump to navigation
Jump to search
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Returns the length of a string consisting of Macintosh Command/Option/Control glpyh characters in the current port based on the port's text settings.
FUNCTION GetMacCommandKeyTextWidthInPixels(
inCommandKeyTextToDraw :STRING) : INTEGER;
def vs.GetMacCommandKeyTextWidthInPixels(inCommandKeyTextToDraw): return INTEGER
Parameters
inCommandKeyTextToDraw STRING
Version
Availability: from Vectorworks 2014