Table Object (ActiveX)

AutoCAD table object.

Supported Platforms: Windows only

Class Information

Class Name

AcadTable

Object Inheritance
Object
   AcadObject
      AcadEntity
         AcadTable
Create Using

VBA

ModelSpace.AddTable
PaperSpace.AddTable
Block.AddTable
Access Via

VBA

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item

Members

These members are part of this object:

Methods

Properties

Events

ArrayPolar

ArrayRectangular

ClearSubSelection

ClearTableStyleOverrides

Copy

CreateContent

Delete

DeleteCellContent

DeleteColumns

DeleteContent

DeleteRows

EnableMergeAll

FormatValue

GenerateLayout

GetAlignment

GetAttachmentPoint

GetAutoScale

GetAutoScale2

GetBackgroundColor

GetBackgroundColorNone

GetBlockAttributeValue

GetBlockAttributeValue2

GetBlockRotation

GetBlockScale

GetBlockTableRecordId

GetBlockTableRecordId2

GetBoundingBox

GetBreakHeight

GetCellAlignment

GetCellBackgroundColor

GetCellBackgroundColorNone

GetCellContentColor

GetCellDataType

GetCellExtents

GetCellFormat

GetCellGridColor

GetCellGridLineWeight

GetCellGridVisibility

GetCellState

GetCellStyle

GetCellStyleOverrides

GetCellTextHeight

GetCellTextStyle

GetCellType

GetCellValue

GetColumnName

GetColumnWidth

GetContentColor

GetContentColor2

GetContentLayout

GetContentType

GetCustomData

GetDataFormat

GetDataType

GetDataType2

GetExtensionDictionary

GetFieldId

GetFieldId2

GetFormat

GetFormula

GetGridColor

GetGridColor2

GetGridDoubleLineSpacing

GetGridLineStyle

GetGridLinetype

GetGridLineWeight

GetGridLineWeight2

GetGridVisibility

GetGridVisibility2

GetHasFormula

GetMargin

GetMinimumColumnWidth

GetMinimumRowHeight

GetOverride

GetRotation

GetRowHeight

GetRowType

GetScale

GetSubSelection

GetText

GetTextHeight

GetTextHeight2

GetTextRotation

GetTextString

GetTextStyle

GetTextStyle2

GetValue

GetXData

Highlight

HitTest

InsertColumns

InsertColumnsAndInherit

InsertRows

InsertRowsAndInherit

IntersectWith

IsContentEditable

IsEmpty

IsFormatEditable

IsMergeAllEnabled

IsMergedCell

MergeCells

Mirror

Mirror3D

Move

MoveContent

RecomputeTableBlock

RemoveAllOverrides

ReselectSubRegion

ResetCellValue

Rotate

Rotate3D

ScaleEntity

Select

SelectSubRegion

SetAlignment

SetAutoScale

SetAutoScale2

SetBackgroundColor

SetBackgroundColorNone

SetBlockAttributeValue

SetBlockAttributeValue2

SetBlockRotation

SetBlockScale

SetBlockTableRecordId

SetBlockTableRecordId2

SetBreakHeight

SetCellAlignment

SetCellBackgroundColor

SetCellBackgroundColorNone

SetCellContentColor

SetCellDataType

SetCellFormat

SetCellGridColor

SetCellGridLineWeight

SetCellGridVisibility

SetCellState

SetCellStyle

SetCellTextHeight

SetCellTextStyle

SetCellType

SetCellValue

SetCellValueFromText

SetColumnName

SetColumnWidth

SetContentColor

SetContentColor2

SetContentLayout

SetCustomData

SetDataFormat

SetDataType

SetDataType2

SetFieldId

SetFieldId2

SetFormat

SetFormula

SetGridColor

SetGridColor2

SetGridDoubleLineSpacing

SetGridLineStyle

SetGridLinetype

SetGridLineWeight

SetGridLineWeight2

SetGridVisibility

SetGridVisibility2

SetMargin

SetOverride

SetRotation

SetRowHeight

SetScale

SetSubSelection

SetText

SetTextHeight

SetTextHeight2

SetTextRotation

SetTextString

SetTextStyle

SetTextStyle2

SetToolTip

SetValue

SetValueFromText

SetXData

TransformBy

UnmergeCells

Update

AllowManualHeights

AllowManualPositions

Application

BreaksEnabled

BreakSpacing

Columns

ColumnWidth

Direction

Document

EnableBreak

EntityTransparency

FlowDirection

Handle

HasExtensionDictionary

HasSubSelection

HeaderSuppressed

Height

HorzCellMargin

Hyperlinks

InsertionPoint

Layer

Linetype

LinetypeScale

Lineweight

Material

MinimumTableHeight

MinimumTableWidth

ObjectID

ObjectName

OwnerID

PlotStyleName

RegenerateTableSuppressed

RepeatBottomLabels

RepeatTopLabels

RowHeight

Rows

StyleName

TableBreakFlowDirection

TableBreakHeight

TableStyleOverrides

TitleSuppressed

TrueColor

VertCellMargin

Visible

Width

Modified

Remarks

A table contains data in rows and columns. You can use the Table object to add and modify tables in a drawing.

To add a table to a drawing, use the AddTable method. After you add a table, you can modify the number of columns, the number of rows, and other settings.

All methods that change the Table object do the following:

  1. Open the Table object in write mode
  2. Modify the Table object based on the input parameters
  3. Close the Table object, which recomputes the Table

Recomputing large tables consumes a lot of time and memory because the Table object is reconstructed from scratch. If you are making multiple calls to update a table, you can improve performance by setting RegenerateTableSuppressed before and after making the modifications.