返回一个字符串的左侧、顶部、右侧和底部尺寸(以像素为单位)的簇。


icon

输入/输出

  • ccclst.png [user-specified font]

    [user-specified font] specifies the specific font characteristics for the text to draw.

    所需字体不是用户定义字体,VI可忽略该输入。

  • cstr.png Font Name:

    Font Name specifies the font to use for the text.

    如未能正确拼写字体名称或指定的字体没有安装在计算机上,操作系统可选择字体。

  • ci16.png Size

    Size specifies the size of the font in points.

  • cbool.png Strikeout?

    Strikeout? specifies if the text appears in strikeout. If Strikeout? is TRUE, the text appears in strikeout.

  • cbool.png Italic?

    Italic? specifies if the text appears in italics. If Italic? is TRUE, the text appears in italics.

  • cbool.png Underline?

    Underline? specifies if the text is underlined. If Underline? is TRUE, the text appears underlined.

  • cbool.png Outline?

    Outline? specifies if the text is outlined. If Outline? is TRUE, the text appears outlined.

  • cbool.png Shadow?

    Shadow? specifies if the text has a shadow. If Shadow? is TRUE, the text appears in shadow.

  • cbool.png Bold?

    Bold? specifies if the text is bold. If Bold? is TRUE, the text appears bold.

  • cenum.png desired font(Application)

    desired font specifies the text font.

    0
    User-specified Font
    1
    Application Font
    (默认)
    2
    System Font
    3
    Dialog Font
  • cnclst.png alignment(left, top)

    alignment specifies the location of the text relative to the origin you specify.

  • cenum.png horizontal

    horizontal sets the horizontal position of the text with respect to the origin.

    0left-原点的水平分量可指定文本的左边界。
    1center-原点的水平分量可指定文本的中心。
    2right-原点的水平分量可指定文本的右边界。
  • cenum.png vertical

    vertical sets the vertical position of the text with respect to the origin.

    0top-原点的垂直分量可指定文本的上边界。
    1center-原点的垂直分量可指定文本的中心。
    2bottom-原点的垂直分量可指定文本的下边界。
  • cnclst.png origin(0,0)

    origin is the coordinate of the starting point of the text.

  • ci16.png horizontal

    horizontal is the x-axis coordinate that increases to the right.

  • ci16.png vertical

    vertical is the y-axis coordinate that increases to the bottom.

  • cstr.png text

    text is the string to draw in the picture.

  • cenum.png text orientation

    text orientation sets the orientation of the text for which you want the bounding rectangle.

    0None (默认)-文本显示正常。
    1Stacked-层叠显示文本。
    2Clockwise-文本顺时针旋转90°显示。得到垂直的从上向下读的文本。
    3Counterclockwise-文本顺时针旋转90°显示。得到垂直的从下向上读的文本。
  • inclst.png rect

    矩形该簇包含描述矩形外测边缘上、下、左、右坐标的四个数值控件。

    水平坐标向右递增,垂直坐标向下递增。

  • ii16.png left

    left is the horizontal coordinate of the left edge of the rectangle.

  • ii16.png top

    top is the vertical coordinate of the top edge of the rectangle.

  • ii16.png right

    right is the horizontal coordinate of the right edge of the rectangle.

  • ii16.png bottom

    bottom is the vertical coordinate of the bottom edge of the rectangle.