VS:GetMacCommandKeyTextWidthInPixels/ja

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Macintoshのコマンド/オプション/コントロールのグリフの文字で構成される文字列について、現在のポート(グラフィックポート)における長さ(ピクセル数)をそのポートの文字設定に基づいて計算し、返します。

FUNCTION GetMacCommandKeyTextWidthInPixels(
inCommandKeyTextToDraw :STRING) : INTEGER;
def vs.GetMacCommandKeyTextWidthInPixels(inCommandKeyTextToDraw):
    return INTEGER

Parameters

inCommandKeyTextToDraw STRING

Version

Availability: from Vectorworks 2014