AddListBox
ShapeCollection.AddListBox method
Lägger till en ListBox i kalkylbladet.
public ListBox AddListBox(int upperLeftRow, int top, int upperLeftColumn, int left, int height,
int width)
Parameter | Typ | Beskrivning |
---|---|---|
upperLeftRow | Int32 | Övre vänstra radens index. |
top | Int32 | Representerar den vertikala förskjutningen av ListBox från dess vänstra rad, i pixelenhet. |
upperLeftColumn | Int32 | Övre vänstra kolumnindex. |
left | Int32 | Representerar den horisontella förskjutningen av ListBox från dess vänstra kolumn, i pixelenhet. |
height | Int32 | Representerar höjden på ListBox, i pixelenhet. |
width | Int32 | Representerar bredden på ListBox, i pixelenhet. |
Returvärde
Ett ListBox-objekt.
Exempel
[C#]
//lägg till en listruta
ListBox listBox = shapes.AddListBox(1, 0, 1, 0, 100, 50);
Se även
- class ListBox
- class ShapeCollection
- namnutrymme Aspose.Cells.Drawing
- hopsättning Aspose.Cells