NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | List of all members
NXOpen.OpenXml.TableCellData Class Reference

Represents the table cell to be exported to the speific Open XML file. More...

Inheritance diagram for NXOpen.OpenXml.TableCellData:
NXOpen.OpenXml.DocumentData

Public Member Functions

unsafe int[] GetGridsId ()
 Gets the grid IDs of the table cell More...
 
unsafe
NXOpen.OpenXml.TextDocumentData 
AddText (string textContent)
 Creates a new NXOpen.OpenXml.TextDocumentData object. More...
 
unsafe
NXOpen.OpenXml.ImageGroupDocumentData 
AddImageGroup ()
 Creates a new NXOpen.OpenXml.ImageGroupDocumentData object. More...
 
unsafe int GetContentCount ()
 Gets the number of content in the table cell More...
 
unsafe NXOpen.OpenXml.DocumentData GetNthContent (int index)
 Gets the nth content data Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object More...
 
unsafe void DeleteNthContent (int index)
 Removes the nth content data More...
 
unsafe void ClearContents ()
 Removes all contents data More...
 
- Public Member Functions inherited from NXOpen.OpenXml.DocumentData
unsafe
NXOpen.OpenXml.DocumentData.Type 
GetDataType ()
 Gets a specified document data type More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 
- Protected Member Functions inherited from NXOpen.OpenXml.DocumentData
override void FreeResource ()
 Frees the object from memory. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen.OpenXml.DocumentData
enum  Type {
  Base, Text, Table, TableCell,
  Image, ImageGroup, Group
}
 the document data type More...
 

Detailed Description

Represents the table cell to be exported to the speific Open XML file.

Created in NX11.0.0

Member Function Documentation

unsafe NXOpen.OpenXml.ImageGroupDocumentData NXOpen.OpenXml.TableCellData.AddImageGroup ( )

Creates a new NXOpen.OpenXml.ImageGroupDocumentData object.

Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object

Created in NX11.0.0

License requirements: None.

Returns
the image group data
unsafe NXOpen.OpenXml.TextDocumentData NXOpen.OpenXml.TableCellData.AddText ( string  textContent)

Creates a new NXOpen.OpenXml.TextDocumentData object.

Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object

Created in NX11.0.0

License requirements: None.

Parameters
textContentthe content of the text data
Returns
the text data
unsafe void NXOpen.OpenXml.TableCellData.ClearContents ( )

Removes all contents data

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.OpenXml.TableCellData.DeleteNthContent ( int  index)

Removes the nth content data

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of content
override void NXOpen.OpenXml.TableCellData.FreeResource ( )
protected

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.

Created in NX11.0.0

License requirements: None.

unsafe int NXOpen.OpenXml.TableCellData.GetContentCount ( )

Gets the number of content in the table cell

Created in NX11.0.0

License requirements: None.

Returns
the number of content
unsafe int [] NXOpen.OpenXml.TableCellData.GetGridsId ( )

Gets the grid IDs of the table cell

Created in NX11.0.0

License requirements: None.

Returns
the grid ID array
unsafe NXOpen.OpenXml.DocumentData NXOpen.OpenXml.TableCellData.GetNthContent ( int  index)

Gets the nth content data Does not to free this object, it will be free while deleting NXOpen.OpenXml.TableCellData object

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of content
Returns
the content

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.