InsertTable()

IShapeCollection::InsertTable(int32_t, float, float, System::ArrayPtr<double>, System::ArrayPtr<double>) method

Creates a new Table and inserts it to the collection at the specified index.

virtual System::SharedPtr<ITable> Aspose::Slides::IShapeCollection::InsertTable(int32_t index, float x, float y, System::ArrayPtr<double> columnWidths, System::ArrayPtr<double> rowHeights)=0

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index at which value should be inserted.
xfloatThe X-coordinate for a left side of shape’s frame.
yfloatThe Y-coordinate for a top side of shape’s frame.
columnWidthsSystem::ArrayPtr<double>Array of doubles which represents widths of columns in the table.
rowHeightsSystem::ArrayPtr<double>Array of doubles which represents heights of rows in the table.

Return Value

Created Table object.

See Also