TableCellData Class¶
-
class
NXOpen.OpenXml.
TableCellData
¶ Bases:
NXOpen.OpenXml.DocumentData
Represents 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 @return the number of content |
GetDataType | Gets a specified document data type @return the data type defined by the NXOpen.OpenXml.DocumentDataType |
GetGridsId | Gets the grid IDs of the table cell @return the grid ID array |
GetNthContent | Gets the nth content data Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object @return the content |
Method Detail¶
AddImageGroup¶
-
TableCellData.
AddImageGroup
¶ Creates a new
NXOpen.OpenXml.ImageGroupDocumentData
object.Does not to free this object, it will be free while deleting
NXOpen.OpenXml.TableCellData
objectSignature
AddImageGroup()
Returns: the image group data Return type: NXOpen.OpenXml.ImageGroupDocumentData
New in version NX11.0.0.
License requirements: None.
AddText¶
-
TableCellData.
AddText
¶ Creates a new
NXOpen.OpenXml.TextDocumentData
object.Does not to free this object, it will be free while deleting
NXOpen.OpenXml.TableCellData
objectSignature
AddText(textContent)
Parameters: textContent (str) – the content of the text data Returns: the text data Return type: NXOpen.OpenXml.TextDocumentData
New 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.TableCellData
objectSignature
GetNthContent(index)
Parameters: index (int) – the index of content Returns: the content Return type: NXOpen.OpenXml.DocumentData
New in version NX11.0.0.
License requirements: None.