TableCellData Class¶
-
class
NXOpen.OpenXml.TableCellData¶ Bases:
NXOpen.OpenXml.DocumentDataRepresents the table cell to be exported to the speific Open XML file.
New in version NX11.0.0.
Methods¶
| Method | Description |
|---|---|
| AddImageGroup | Creates a new NXOpen.OpenXml.ImageGroupDocumentData object. |
| AddText | Creates a new NXOpen.OpenXml.TextDocumentData object. |
| ClearContents | Removes all contents data |
| DeleteNthContent | Removes the nth content data |
| Dispose | Frees the object from memory. |
| GetContentCount | Gets the number of content in the table cell |
| GetDataType | Gets a specified document data type |
| GetGridsId | Gets the grid IDs of the table cell |
| GetNthContent | Gets the nth content data Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object |
Method Detail¶
AddImageGroup¶
-
TableCellData.AddImageGroup¶ Creates a new
NXOpen.OpenXml.ImageGroupDocumentDataobject.Does not to free this object, it will be free while deleting
NXOpen.OpenXml.TableCellDataobjectSignature
AddImageGroup()Returns: the image group data Return type: NXOpen.OpenXml.ImageGroupDocumentDataNew in version NX11.0.0.
License requirements: None.
AddText¶
-
TableCellData.AddText¶ Creates a new
NXOpen.OpenXml.TextDocumentDataobject.Does not to free this object, it will be free while deleting
NXOpen.OpenXml.TableCellDataobjectSignature
AddText(textContent)Parameters: textContent (str) – the content of the text data Returns: the text data Return type: NXOpen.OpenXml.TextDocumentDataNew in version NX11.0.0.
License requirements: None.
ClearContents¶
-
TableCellData.ClearContents¶ Removes all contents data
Signature
ClearContents()New in version NX11.0.0.
License requirements: None.
DeleteNthContent¶
-
TableCellData.DeleteNthContent¶ Removes the nth content data
Signature
DeleteNthContent(index)Parameters: index (int) – the index of content New in version NX11.0.0.
License requirements: None.
Dispose¶
-
TableCellData.Dispose¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()New in version NX11.0.0.
License requirements: None.
GetContentCount¶
-
TableCellData.GetContentCount¶ Gets the number of content in the table cell
Signature
GetContentCount()Returns: the number of content Return type: int New in version NX11.0.0.
License requirements: None.
GetGridsId¶
-
TableCellData.GetGridsId¶ Gets the grid IDs of the table cell
Signature
GetGridsId()Returns: the grid ID array Return type: list of int New in version NX11.0.0.
License requirements: None.
GetNthContent¶
-
TableCellData.GetNthContent¶ Gets the nth content data Does not to free this object, it will be free while deleting
NXOpen.OpenXml.TableCellDataobjectSignature
GetNthContent(index)Parameters: index (int) – the index of content Returns: the content Return type: NXOpen.OpenXml.DocumentDataNew in version NX11.0.0.
License requirements: None.