VS:GetTextWidthInPixels/ja: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
(Fixed Category)
 
m (1 revision: 2014J VS Reference G-2)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<desc>
<desc>
Returns the length of a string in the current port based on the port's text settings.</desc>
現在のポート(グラフィックポート)における文字列の長さ(ピクセル数)をそのポートの文字設定に基づいて計算し、返します。</desc>


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
Line 40: Line 40:
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<version>
<version>
利用可能バージョン: VectorWorks_Unknow.n._
Availability: from Vectorworks 2014


</version>
</version>
Line 47: Line 47:


[[Category:VS Function Reference|GetTextWidthInPixels]]
[[Category:VS Function Reference|GetTextWidthInPixels]]
[[Category:VS Function Reference:Objects - Text|GetTextWidthInPixels]]
[[Category:VS Function Reference:Utility|GetTextWidthInPixels]]

Latest revision as of 02:48, 16 January 2014

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

Description

現在のポート(グラフィックポート)における文字列の長さ(ピクセル数)をそのポートの文字設定に基づいて計算し、返します。

FUNCTION GetTextWidthInPixels(
inTextMeasure :STRING) : INTEGER;
def vs.GetTextWidthInPixels(inTextMeasure):
    return INTEGER

Parameters

inTextMeasure STRING

Version

Availability: from Vectorworks 2014