Cell Class

This class represents table cells.
Inheritance Hierarchy
SystemObject
  Teigha.DatabaseServicesCellRange
    Teigha.DatabaseServicesCell

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class Cell : CellRange

The Cell type exposes the following members.

Constructors
  Name Description
Public method Cell Constructor for the Cell class. Creates a cell in the specified table at the given row and column.
Top
Properties
  Name Description
Public property Alignment Property that represents cell alignment for the cell range. This property can be one of the following: Name Value Description TopLeft 1 Left-justified text at a point specified for the top of the text within a text table cell. TopCenter 2 Centers text at a point specified for the top of the text within a text table cell. TopRight 3 Right-justified text at a point specified for the top of the text within a text table cell. MiddleLeft 4 Left-justifies text at a point specified for the middle of the text within a text table cell. MiddleCenter 5 Centers text at a point specified for the middle of the text within a text table cell. MiddleRight 6 Right-justifies text at a point specified for the middle of the text within a text table cell. BottomCenter 7 Left-justifies text at a point specified for the bottom of the text within a text table cell. BottomLeft 8 Centers text at a point specified for the bottom of the text within a text table cell. BottomRight 9 Right-justifies text at a point specified for the bottom of the text within a text table cell.
(Inherited from CellRange)
Public property AttachmentPoint Property that represents attachment point of the cell.
Public property BackgroundColor Property that represents background color for the cell range.
(Inherited from CellRange)
Public property BlockTableRecordId Property that represents Object ID of the block table record in the cell.
Public property Borders Property that represents cell borders for a cell range.
(Inherited from CellRange)
Public property BottomRight Property that represents a bottom-right cell in a cell range.
(Inherited from CellRange)
Public property BottomRightPlusOne Property that represents a cell that is one row down from the last row and one column right from the last column in a cell range.
(Inherited from CellRange)
Public property BottomRow Property that represents an index of a bottom row.
(Inherited from CellRange)
Public property CanDeleteColumns Property that indicates whether all columns can be deleted from the cell range.
(Inherited from CellRange)
Public property CanDeleteRows Property that indicates whether all rows can be deleted from the cell range.
(Inherited from CellRange)
Public property CanInsertColumn Property that indicates whether a cell range can insert a column at the left column index.
(Inherited from CellRange)
Public property CanInsertRow Property that indicates whether a cell range can insert a column at the top row index.
(Inherited from CellRange)
Public property CellType Property that represents cell type of the cell. This property can be one of the following: Name Value Description UnknownCell 0 Cell contains unknown data. TextCell 1 Text cell type BlockCell 2 Block cell type. MultipleContentCell 3 Cell type that contains multiple or mixed content.
Public property Column Property that represents an index of a left column.
Public property ContentColor Property that represents content color for the cell range.
(Inherited from CellRange)
Public property ContentLayout Property that represents content layout of a cell range. This property can be one of the following: Name Value Description Flow 1 Contents flow from left to right and top to bottom. StackedHorizontal 2 Contents are stacked horizontally. StackedVertical 3 Contents are stacked vertically.
(Inherited from CellRange)
Public property Contents Property that represents a collection of cell content objects for a cell.
Public property ContentTypes Property that represents content type of the cell. This property can be one of the following: Name Value Description Unknown 0 Unknown cell content. Value 1 Content is value in any data type including text. Field 2 Content is field. Block 3 Content is block.
Public property DataFormat Property that represents data format of the cell range.
(Inherited from CellRange)
Public property DataLink Property that represents the data link for the cell.
Public property DataType Property that represents a DataTypeParameter instance encapsulating data type and unit type of a cell range.
(Inherited from CellRange)
Public property FieldId Property that represents Object ID of the field in the cell.
Public property IsBackgroundColorNone Property that indicates whether background color is disabled for the cell range.
(Inherited from CellRange)
Public property IsContentEditable Property that indicates whether all cells in this cell range are editable.
(Inherited from CellRange)
Public property IsEmpty Property that indicates whether all cells in this cell range are empty.
(Inherited from CellRange)
Public property IsFormatEditable Property that indicates whether cell format can be edited for all cells in the cell range.
(Inherited from CellRange)
Public property IsLinked Property that indicates whether all cells in the cell range are linked to their data sources.
(Inherited from CellRange)
Public property IsMergeAllEnabled Property that indicates whether the merge-all flag is enabled for the cell range.
(Inherited from CellRange)
Public property IsMerged Property that indicates whether all cells in the cell range are merged.
(Inherited from CellRange)
Public property IsNull Property that indicates whether the cell range is NULL.
(Inherited from CellRange)
Public property IsSingleCell Property that indicates whether the cell range contains single cells and not merged cells. Top-left cell is a target cell that is tested whether its a part of merged cell.
(Inherited from CellRange)
Public property Item
(Inherited from CellRange)
Public property LeftColumn Property that represents an index of a left column.
(Inherited from CellRange)
Public property Parent Property that represents a parent object (table) of this cell range.
(Inherited from CellRange)
Public property ParentTable Property that represents a parent object (table) from which this cell range is taken.
(Inherited from CellRange)
Public property RightColumn Property that represents an index of a right column.
(Inherited from CellRange)
Public property Row Property that represents an index of a top row.
Public property State Property that represents state for a cell range. This property can be one of the following: Name Value Description None 0 No defined state. ContentLocked 1 Cell's content is locked. ContentReadOnly 2 Cell's content is read-only. Linked 3 Cell is linked to a data source. ContentModifiedAfterUpdate 4 Cell's content has been modified since last update. FormatLocked 5 Cell's format is locked. Can be unlocked by user. FormatReadOnly 6 Cell's format is read-only. FormatModifiedAfterUpdate 7 Cell's format has been modified since last update.
(Inherited from CellRange)
Public property Style Property that represents cell style of the cell range.
(Inherited from CellRange)
Public property TextHeight Property that represents text height of the cell range.
(Inherited from CellRange)
Public property TextString Property that represents text string in the cell.
Public property TextStyleId Property that represents Object ID of the text style for the cell range.
(Inherited from CellRange)
Public property ToolTip Property that represents tooltip of the cell as a string.
Public property TopLeft Property that represents a top-left cell in a cell range.
(Inherited from CellRange)
Public property TopRow Property that represents an index of a top row.
(Inherited from CellRange)
Public property Value Property that represents content value of the cell.
Top
Methods
  Name Description
Public method ClearStyleOverrides Clears the table style overrides from the cells.
(Inherited from CellRange)
Public method DeleteContent Deletes content from the cells.
(Inherited from CellRange)
Public method Equals Checks objects for equality.
(Inherited from CellRange)
Protected method Finalize
(Inherited from Object)
Public method GetBlockAttributeValue Returns the attribute value for the specified object identifier for this cell.
Public method GetCustomData Returns the custom data value of the currently enumerated cell.
(Inherited from CellRange)
Public method GetDataLink Returns the data links for this range of cells.
(Inherited from CellRange)
Public method GetDataLinkRange Returns the data link range of cells.
Public method GetEnumerator Returns the enumerator for this range of cells.
(Inherited from CellRange)
Public method GetExtents Returns the cell extents for this cell as a collection of 3D points.
Public method GetHashCode Retrieves the object hash code.
(Inherited from CellRange)
Public method GetMergeRange Returns the merge range of this cell. The method returns an invalid merge range if this cell is not part of the merge range.
Public method GetStyleOverrides Returns the cell style overrides for this cell range.
(Inherited from CellRange)
Public method GetTextString Returns the text string of the cell according to the provided formatting.
Public method GetType
(Inherited from Object)
Public method GetValue Returns the value of this cell.
Public method IEnumerableGetEnumerator Returns the enumerator for this range of cells.
(Inherited from CellRange)
Protected method MemberwiseClone
(Inherited from Object)
Public method RemoveDataLink Removes the data link of this cell.
Public method ResetValue Resets the value in this cell.
Public method SetBlockAttributeValue Sets the attribute value for the specified attribute definition identifier.
Public method SetCustomData Sets the custom data value for this cell range.
(Inherited from CellRange)
Public method SetDataLink Sets the data link for this cell range.
(Inherited from CellRange)
Public method SetValue Sets the attribute value for the specified attribute definition identifier.
Public method ToString
(Inherited from Object)
Public method UpdateDataLink Updates the data link of the cell.
Top
See Also

©  Bricsys NV. All rights reserved.