テキスト境界取得
- 更新日2025-07-30
- 8分で読める
文字列の上下左右のピクセル単位の寸法を含むクラスタを返します。

入力/出力
[user-specified font]
—
[user-specified font] specifies the specific font characteristics for the text to draw. 最適フォントがユーザ指定フォントである場合を除いて、VIはこの入力を無視します。
desired font(Application)
—
desired font specifies the text font.
alignment(left, top)
—
alignment specifies the location of the text relative to the origin you specify.
origin(0,0)
—
origin is the coordinate of the starting point of the text.
text
—
text is the string to draw in the picture.
text orientation
—
text orientation sets the orientation of the text for which you want the bounding rectangle.
rect
—
境界は、四角形の四隅にあたる左、上、右、底の座標を表す座標を含むクラスタです。 水平座標は右方向に増加し、垂直座標は下方向に増加します。
|
[user-specified font]
—
Font Name:
—
Size
—
Strikeout?
—
desired font(Application)
—
alignment(left, top)
—
rect
—
left
—