TableTemplate Class

This class stores and manages templates of tables.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawable
          Teigha.DatabaseServicesDBObject
            Teigha.DatabaseServicesLinkedData
              Teigha.DatabaseServicesLinkedTableData
                Teigha.DatabaseServicesFormattedTableData
                  Teigha.DatabaseServicesTableContent
                    Teigha.DatabaseServicesTableTemplate

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public class TableTemplate : TableContent

The TableTemplate type exposes the following members.

Constructors
  Name Description
Protected method TableTemplate(IntPtr, Boolean) Initializes a new instance of the TableTemplate class
Public method TableTemplate(Table, TableCopyOptions) Constructor for the TableTemplate class.
Top
Properties
  Name Description
Public property AcadObject
(Inherited from DBObject)
Public property Annotative
(Inherited from DBObject)
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property Bounds
(Inherited from Drawable)
Public property ClassID
(Inherited from DBObject)
Public property Database
(Inherited from DBObject)
Public property Drawable Property that represents a drawable that is associated with this object.
(Inherited from DBObject)
Public property DrawableType
(Inherited from Drawable)
Public property ExtensionDictionary
(Inherited from DBObject)
Public property Handle
(Inherited from DBObject)
Public property HasFields
(Inherited from DBObject)
Public property HasSaveVersionOverride
(Inherited from DBObject)
Public property Id Property that represents an object identifier of this database object.
(Inherited from DBObject)
Public property IsAProxy
(Inherited from DBObject)
Public property IsCancelling
(Inherited from DBObject)
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsEmpty Property that indicates whether this object does not contain data. Should be implemented in the derived classes.
(Inherited from LinkedData)
Public property IsErased
(Inherited from DBObject)
Public property IsEraseStatusToggled
(Inherited from DBObject)
Public property IsModified
(Inherited from DBObject)
Public property IsModifiedGraphics
(Inherited from DBObject)
Public property IsModifiedXData
(Inherited from DBObject)
Public property IsNewObject
(Inherited from DBObject)
Public property IsNotifyEnabled
(Inherited from DBObject)
Public property IsNotifying
(Inherited from DBObject)
Public property IsObjectIdsInFlux
(Inherited from DBObject)
Public property IsPersistent Property that indicates whether this object is a database-resident (DBRO). Persistent objects belong to an object that must be opened and closed. Non-persistent objects can be accessed through their pointers.
(Inherited from DBObject)
Public property IsReadEnabled
(Inherited from DBObject)
Public property IsReallyClosing
(Inherited from DBObject)
Public property IsTransactionResident
(Inherited from DBObject)
Public property IsUndoing
(Inherited from DBObject)
Public property IsWriteEnabled
(Inherited from DBObject)
Public property MergeStyle
(Inherited from DBObject)
Public property Name Property that represents the name of the data.
(Inherited from LinkedData)
Public property NumberOfColumns Property that represents the number of columns in this linked table object.
(Inherited from LinkedTableData)
Public property NumberOfRows Property that represents the number of rows in this linked table object.
(Inherited from LinkedTableData)
Public property ObjectBirthVersion
(Inherited from DBObject)
Public property ObjectId
(Inherited from DBObject)
Public property OwnerId
(Inherited from DBObject)
Public property PaperOrientation
(Inherited from DBObject)
Public property TableStyleId Property that represents the table style identifier.
(Inherited from TableContent)
Public property UndoFiler
(Inherited from DBObject)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Public property XData
(Inherited from DBObject)
Top
Methods
  Name Description
Public method AddContext Adds a copy of a context to the object.
(Inherited from DBObject)
Public method AddPersistentReactor Adds the specified persistent reactor to this object's reactor list.
(Inherited from DBObject)
Public method AppendColumn Appends the specified number of columns into this linked table object.
(Inherited from LinkedTableData)
Public method AppendRow Appends the specified number of rows into this linked table object.
(Inherited from LinkedTableData)
Public method ApplyPartialUndo Notification method that is called each time this object uses the partial undo mechanism.
(Inherited from DBObject)
Protected method AssertNotifyEnabled
(Inherited from DBObject)
Protected method AssertReadEnabled
(Inherited from DBObject)
Protected method AssertWriteEnabled
(Inherited from DBObject)
Public method Audit Performs an audit operation on this object.
(Inherited from DBObject)
Public method Cancel Obsolete.
Terminates the current open operation. Currently not implemented.
(Inherited from DBObject)
Public method Capture Captures a table template.
Public method Clear Deletes the data. Should be implemented in the derived classes.
(Inherited from LinkedData)
Public method Clone
(Inherited from RXObject)
Public method Close Obsolete.
Closes the object. All changes made to the object since it was opened are committed to the database and a notification is sent that the object is now "closed". Currently not implemented.
(Inherited from DBObject)
Public method CloseAndPage Obsolete.
Closes the object and pages it if the object pager is enabled. All changes made to the object since it was opened are committed to the database and a notification is sent that the object is now "closed". Currently not implemented.
(Inherited from DBObject)
Public method CompareTo
(Inherited from RXObject)
Public method CopyFrom
(Inherited from RXObject)
Public method CreateExtensionDictionary Creates a DbDictionary extension dictionary of this object.
(Inherited from DBObject)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method CreateTable Creates a table template.
Public method DataType Returns the data type of the first content of the specified cell.
(Inherited from LinkedTableData)
Public method DecomposeForSave Determines the behavior for custom objects when saving to a .dwg file.
(Inherited from DBObject)
Public method DeepClone Performs a deep clone of this object.
(Inherited from DBObject)
Public method DeleteColumn Deletes the specified number of columns from this linked table object.
(Inherited from LinkedTableData)
Public method DeleteContent Deletes content from a cell.
(Inherited from LinkedTableData)
Public method DeleteRow Deletes the specified number of rows from this linked table object.
(Inherited from LinkedTableData)
Protected method DeleteUnmanagedObject
(Inherited from DBObject)
Public method DisableUndoRecording Controls the undo recording of this object in OdDbDatabase.
(Inherited from DBObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DBObject)
Public method DowngradeOpen Downgrades this object from ForWrite to ForRead.
(Inherited from DBObject)
Public method DowngradeToNotify Downgrades this object from ForNotify and ForWrite to having just one open mode - ForNotify. Currently not implemented.
(Inherited from DBObject)
Public method DwgIn Reads the .dwg file format data of this object from the specified file.
(Inherited from DBObject)
Protected method DwgInFields
(Inherited from DBObject)
Public method DwgOut Writes the .dwg file format data of this object to the specified filer.
(Inherited from DBObject)
Protected method DwgOutFields
(Inherited from DBObject)
Public method DxfIn Reads the .dxf file format data of this object from the specified file.
(Inherited from DBObject)
Protected method DxfInFields
(Inherited from DBObject)
Public method DxfOut Writes the .dxf file format data of this object to the specified filer.
(Inherited from DBObject)
Protected method DxfOutFields
(Inherited from DBObject)
Public method Equals
(Inherited from DisposableWrapper)
Public method Erase Marks this object as "erased".
(Inherited from DBObject)
Public method Erase(Boolean) Sets the erased mode of this object.
(Inherited from DBObject)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetAlignment
(Inherited from FormattedTableData)
Public method GetBackgroundColor
(Inherited from FormattedTableData)
Public method GetBlockAttributeValue Returns the attribute value of the block cell using the specified object ID key as a string.
(Inherited from LinkedTableData)
Public method GetBlockTableRecordId Returns the ID of the block table record of the zero content of a cell.
(Inherited from LinkedTableData)
Public method GetCellState Returns the state of the cell.
(Inherited from LinkedTableData)
Public method GetCellStyle Returns the cell style of the specified cell.
(Inherited from TableContent)
Public method GetColumnName Returns the column name as a string value.
(Inherited from LinkedTableData)
Public method GetColumnWidth Returns the width of the specified column.
(Inherited from TableContent)
Public method GetContentColor
(Inherited from FormattedTableData)
Public method GetContentTypes Returns the content type of the first content of a cell.
(Inherited from LinkedTableData)
Public method GetCustomData Returns the custom data value of a cell, column or row. Use a valid row index and pass the column index '-1' to get the row data. Use a valid column index and pass the row index '-1' to get the column data.
(Inherited from LinkedTableData)
Public method GetDataFormat Returns the data format of the specified content of a cell.
(Inherited from LinkedTableData)
Public method GetDataLink Returns a collection of data link object IDs.
(Inherited from LinkedTableData)
Public method GetDataLink(CellRange) Returns the data link object ID for the specified cell range.
(Inherited from LinkedTableData)
Public method GetDataLink(Int32, Int32) Returns the data link object ID for the specified cell.
(Inherited from LinkedTableData)
Public method GetEnumerator Returns the enumerator for this object.
(Inherited from LinkedTableData)
Public method GetEnumerator(TableEnumeratorOption) Returns the enumerator for this object.
(Inherited from LinkedTableData)
Public method GetEventExtender
(Inherited from DBObject)
Public method GetField Returns the object ID of a "TEXT" field object from the field dictionary.
(Inherited from DBObject)
Public method GetField(String) Returns the object ID of the specified field object (that matches the property name) from the field dictionary.
(Inherited from DBObject)
Public method GetFieldId Returns the field ID of a cell.
(Inherited from LinkedTableData)
Public method GetGridColor
(Inherited from FormattedTableData)
Public method GetGridLinetype
(Inherited from FormattedTableData)
Public method GetGridLineWeight
(Inherited from FormattedTableData)
Public method GetGridVisibility
(Inherited from FormattedTableData)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetMargin
(Inherited from FormattedTableData)
Public method GetMergeRange
(Inherited from FormattedTableData)
Public method GetObjectSaveVersion(DwgFiler) Returns the drawing and maintenance release version into which this object must be stored.
(Inherited from DBObject)
Public method GetObjectSaveVersion(DxfFiler) Returns the drawing and maintenance release version into which this object must be stored.
(Inherited from DBObject)
Public method GetOverride(Int32, Int32, Int32)
(Inherited from FormattedTableData)
Public method GetOverride(Int32, Int32, GridLineType)
(Inherited from FormattedTableData)
Public method GetPersistentReactorIds Returns the object IDs of this object's persistent reactors.
(Inherited from DBObject)
Public method GetReactors Obsolete.
Returns this object's transient reactors.
(Inherited from DBObject)
Public method GetRotation
(Inherited from FormattedTableData)
Public method GetRowHeight Returns the height of the specified row.
(Inherited from TableContent)
Public method GetRXClass
(Inherited from RXObject)
Public method GetScale
(Inherited from FormattedTableData)
Public method GetTextHeight
(Inherited from FormattedTableData)
Public method GetTextStyle
(Inherited from FormattedTableData)
Public method GetToolTip Returns the tooltip of the cell.
(Inherited from LinkedTableData)
Public method GetTransientReactors Returns this object's transient reactors.
(Inherited from DBObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetValue(Int32, Int32) Returns the value of the zero content of a cell.
(Inherited from LinkedTableData)
Public method GetValue(Int32, Int32, Int32, FormatOption) Returns the value of the specified content of a cell.
(Inherited from LinkedTableData)
Public method GetXDataForApplication Returns a linked list of ResBufs containing a copy of the XData of this object.
(Inherited from DBObject)
Public method HandOverTo Replaces this database-resident (DBRO) object with the specified non-database-resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list.
(Inherited from DBObject)
Public method HasContext Checks whether the specified context exists in the collection.
(Inherited from DBObject)
Public method HasPersistentReactor Checks whether the passed identifier is an identifier of a reactor attached to this object.
(Inherited from DBObject)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method InsertColumn Inserts the specified number of columns into this linked table object at the specified column index.
(Inherited from LinkedTableData)
Public method InsertRow Inserts the specified number of rows into this linked table object at the specified row index.
(Inherited from LinkedTableData)
Public method IsContentEditable Checks whether cell content can be edited.
(Inherited from LinkedTableData)
Public method IsFormatEditable
(Inherited from FormattedTableData)
Public method IsLinked Checks whether a cell is linked to a data source.
(Inherited from LinkedTableData)
Public method IsMerged
(Inherited from FormattedTableData)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Public method Merge
(Inherited from FormattedTableData)
Public method QueryX
(Inherited from RXObject)
Public method RegenSupportFlags
(Inherited from Drawable)
Public method ReleaseExtensionDictionary Releases and erases this object's extension dictionary if it exists and is empty.
(Inherited from DBObject)
Public method RemoveAllOverrides
(Inherited from FormattedTableData)
Public method RemoveContext Removes a context from the collection. An active context can't be removed.
(Inherited from DBObject)
Public method RemoveField Removes the text field and returns its field ID.
(Inherited from DBObject)
Public method RemoveField(ObjectId) Removes the specified field.
(Inherited from DBObject)
Public method RemoveField(String) Removes the specified field by its name and returns its ID.
(Inherited from DBObject)
Public method RemovePersistentReactor Removes the specified persistent reactor from this object's reactor list.
(Inherited from DBObject)
Public method ResetScaleDependentProperties Resets object properties that depend on scale to the default values.
(Inherited from DBObject)
Public method SetAlignment
(Inherited from FormattedTableData)
Public method SetAttributes Sets the vectorization attributes of this object, and returns its attribute flags.
(Inherited from Drawable)
Public method SetBackgroundColor
(Inherited from FormattedTableData)
Public method SetBlockAttributeValue Sets the attribute value of the block cell using the specified object ID key.
(Inherited from LinkedTableData)
Public method SetBlockTableRecordId Sets the ID of the block table record of the zero content of a cell.
(Inherited from LinkedTableData)
Public method SetCellState Sets the cell state.
(Inherited from LinkedTableData)
Public method SetCellStyle Sets the cell style of the specified cell.
(Inherited from TableContent)
Public method SetColumnName Sets the column name.
(Inherited from LinkedTableData)
Public method SetColumnWidth Sets the width of the specified column.
(Inherited from TableContent)
Public method SetContentColor
(Inherited from FormattedTableData)
Public method SetCustomData Sets the custom data value of a cell, column or row. Use a valid row index and pass the column index '-1' to set the row data. Use a valid column index and pass the row index '-1' to set the column data.
(Inherited from LinkedTableData)
Public method SetDataFormat Sets the data format of the zero content of a cell.
(Inherited from LinkedTableData)
Public method SetDataLink(CellRange, ObjectId, Boolean) Sets the data link object ID for the specified cell range.
(Inherited from LinkedTableData)
Public method SetDataLink(Int32, Int32, ObjectId, Boolean) Sets the data link object ID for the specified cell.
(Inherited from LinkedTableData)
Public method SetDataType Sets the data type of the first content of a cell.
(Inherited from LinkedTableData)
Public method SetField(Field) Sets the specified field for the "TEXT" property.
(Inherited from DBObject)
Public method SetField(String, Field) Sets the specified field for the specified property.
(Inherited from DBObject)
Public method SetFieldId Sets a field ID to the zero content of a cell.
(Inherited from LinkedTableData)
Public method SetFromStyle Sets the annotative property of an object according to its corresponding style, such as styles of text objects.
(Inherited from DBObject)
Public method SetGridColor
(Inherited from FormattedTableData)
Public method SetGridLinetype
(Inherited from FormattedTableData)
Public method SetGridLineWeight
(Inherited from FormattedTableData)
Public method SetGridVisibility
(Inherited from FormattedTableData)
Public method SetMargin
(Inherited from FormattedTableData)
Public method SetObjectIdsInFlux Called on a newly created cloned object to indicate that its object ID is not valid.
(Inherited from DBObject)
Public method SetOverride(Int32, Int32, Int32, CellProperties)
(Inherited from FormattedTableData)
Public method SetOverride(Int32, Int32, GridLineType, GridProperties)
(Inherited from FormattedTableData)
Public method SetPaperOrientation Sets the paper orientation property of a specified object.
(Inherited from DBObject)
Public method SetRotation
(Inherited from FormattedTableData)
Public method SetRowHeight Sets the height of the specified row.
(Inherited from TableContent)
Public method SetScale
(Inherited from FormattedTableData)
Public method SetSize Sets the size for this linked table object.
(Inherited from LinkedTableData)
Public method SetTextHeight
(Inherited from FormattedTableData)
Public method SetTextStyle
(Inherited from FormattedTableData)
Public method SetToolTip Sets the tooltip of the cell.
(Inherited from LinkedTableData)
Public method SetValue(Int32, Int32, Object) Sets a value to the zero content of a cell.
(Inherited from LinkedTableData)
Public method SetValue(Int32, Int32, Int32, Object, ParseOption) Sets a value to the specified content of a cell.
(Inherited from LinkedTableData)
Protected method SubRegenSupportFlags
(Inherited from Drawable)
Protected method SubSetAttributes
(Inherited from DBObject)
Protected method SubViewportDraw
(Inherited from DBObject)
Protected method SubViewportDrawLogicalFlags
(Inherited from DBObject)
Protected method SubWorldDraw
(Inherited from DBObject)
Public method SupportsCollection Checks whether a particular context type is supported by this object. This method shows whether an object supports a collection type but does not show whether this object participates in any contexts of that type.
(Inherited from DBObject)
Public method SwapIdWith Swaps the objectIDs, handles, extended data (XData), and extension dictionary between this object and another object.
(Inherited from DBObject)
Public method SwapReferences This method performs object ID reference translations similar to those done at the end of deep cloning. References between objects in the workset have their object identifiers translated to the swapped object identifiers of the referenced objects. In contrast to cloning, this translation must occur in both directions. Accordingly, it is possible to pass two different ID maps in two different calls to this method. Currently not implemented.
(Inherited from DBObject)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method UnitType Returns the unit type of the first content for the cell.
(Inherited from LinkedTableData)
Public method Unmerge
(Inherited from FormattedTableData)
Public method UpdateDataLink(UpdateDirection, UpdateOption) Updates the data link in the table.
(Inherited from LinkedTableData)
Public method UpdateDataLink(Int32, Int32, UpdateDirection, UpdateOption) Updates the data link of a cell.
(Inherited from LinkedTableData)
Public method UpgradeFromNotify Upgrades the object from at least ForNotify mode to both ForNotify and ForWrite modes. You should place a call to DowngradeToNotify() with no Open() or Close() methods in between. For internal use. Currently not implemented.
(Inherited from DBObject)
Public method UpgradeOpen
(Inherited from DBObject)
Public method ViewportDraw Creates a viewport-dependent geometric representation of this object.
(Inherited from Drawable)
Public method ViewportDrawLogicalFlags Retrieves the setAttributes flags for the current viewportDraw.
(Inherited from Drawable)
Public method WblockClone Performs a shallow clone of this object.
(Inherited from DBObject)
Public method WorldDraw Creates a viewport-independent geometric representation of this object.
(Inherited from Drawable)
Public method X
(Inherited from RXObject)
Public method XDataTransformBy Applies the 3D transformation matrix to the XData of this object.
(Inherited from DBObject)
Top
Events
  Name Description
Public event Cancelled
(Inherited from DBObject)
Public event Copied Notification event called whenever the notifying object has had its clone() member function called.
(Inherited from DBObject)
Public event Erased Notification event called whenever an object has been erased or unerased.
(Inherited from DBObject)
Public event Goodbye Notification event called just before an object is deleted from memory.
(Inherited from DBObject)
Public event Modified Notification event called whenever an object is opened ForWrite, a function has been called that could modify the content of this object, and this object is now being closed.
(Inherited from DBObject)
Public event ModifiedXData Notification event called whenever the XData has been written to the notifying object.
(Inherited from DBObject)
Public event ModifyUndone Notification event called whenever the notifying object is currently performing an undo operation that is undoing modifications.
(Inherited from DBObject)
Public event ObjectClosed Notification event called immediately before an object is closed.
(Inherited from DBObject)
Public event OpenedForModify Notification event called whenever an object is opened for modifying ForWrite.
(Inherited from DBObject)
Public event Reappended Notification event called whenever a redo process processes the reappending of the notifying object to the database.
(Inherited from DBObject)
Public event SubObjectModified
(Inherited from DBObject)
Public event Unappended Notification event called whenever the undo process processes the appending of the notifying object to the database.
(Inherited from DBObject)
Top
See Also

©  Bricsys NV. All rights reserved.