AddSpinner

ShapeCollection.AddSpinner method

将微调器添加到工作表。

public Spinner AddSpinner(int upperLeftRow, int top, int upperLeftColumn, int left, int height, 
    int width)
范围类型描述
upperLeftRowInt32左上行索引。
topInt32表示 Spinner 与其左行的垂直偏移量,以像素为单位。
upperLeftColumnInt32左上列索引。
leftInt32表示 Spinner 与其左列的水平偏移量,以像素为单位。
heightInt32表示 Spinner 的高度,以像素为单位。
widthInt32表示 Spinner 的宽度,以像素为单位。

返回值

一个 Spinner 对象。

例子


[C#]
//添加一个微调器
Spinner spinner = shapes.AddSpinner(1, 0, 1, 0, 100, 50);

也可以看看