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

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

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

Public Types

enum  CaptionPosition { Above, Bellow }
 the location of the caption for table data More...
 
- Public Types inherited from NXOpen.OpenXml.DocumentData
enum  Type {
  Base, Text, Table, TableCell,
  Image, ImageGroup, Group
}
 the document data type More...
 

Public Member Functions

unsafe int GetColumnCount ()
 Gets the column count of table data More...
 
unsafe int GetRowCount ()
 Gets the row count of table data More...
 
unsafe string GetCaption (out NXOpen.OpenXml.TableDocumentData.CaptionPosition position)
 Gets the caption of the table data More...
 
unsafe void SetCaption (NXOpen.OpenXml.TableDocumentData.CaptionPosition position, string caption)
 Sets the caption of the table data More...
 
unsafe double[] GetColumnWidths ()
 Gets the width array of the columns More...
 
unsafe void SetColumnWidths (double[] widths)
 Sets the width array of the columns More...
 
unsafe double[] GetRowHeigths ()
 Gets the height array of the rows More...
 
unsafe void SetRowHeigths (double[] heigths)
 Sets the height array of the rows More...
 
unsafe NXOpen.OpenXml.TableCellData AddCellData (int[] grids)
 Creates a new NXOpen.OpenXml.TableCellData object. More...
 
unsafe int GetCellsCount ()
 Gets the number of table cells More...
 
unsafe NXOpen.OpenXml.TableCellData GetNthCell (int index)
 Gets the nth table cell 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...
 

Detailed Description

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

Created in NX11.0.0

Member Enumeration Documentation

the location of the caption for table data

Enumerator
Above 

the above position

Bellow 

the bellow position

Member Function Documentation

unsafe NXOpen.OpenXml.TableCellData NXOpen.OpenXml.TableDocumentData.AddCellData ( int[]  grids)

Creates a new NXOpen.OpenXml.TableCellData object.

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

Created in NX11.0.0

License requirements: None.

Parameters
gridsthe grid IDs to be mergered into the cell data
Returns
the table cell data
override void NXOpen.OpenXml.TableDocumentData.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 string NXOpen.OpenXml.TableDocumentData.GetCaption ( out NXOpen.OpenXml.TableDocumentData.CaptionPosition  position)

Gets the caption of the table data

Created in NX11.0.0

License requirements: None.

Parameters
position
Returns
unsafe int NXOpen.OpenXml.TableDocumentData.GetCellsCount ( )

Gets the number of table cells

Created in NX11.0.0

License requirements: None.

Returns
number of table cells
unsafe int NXOpen.OpenXml.TableDocumentData.GetColumnCount ( )

Gets the column count of table data

Created in NX11.0.0

License requirements: None.

Returns
unsafe double [] NXOpen.OpenXml.TableDocumentData.GetColumnWidths ( )

Gets the width array of the columns

Created in NX11.0.0

License requirements: None.

Returns
the column width array
unsafe NXOpen.OpenXml.TableCellData NXOpen.OpenXml.TableDocumentData.GetNthCell ( int  index)

Gets the nth table cell data

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of table cell data
Returns
the table cell data
unsafe int NXOpen.OpenXml.TableDocumentData.GetRowCount ( )

Gets the row count of table data

Created in NX11.0.0

License requirements: None.

Returns
unsafe double [] NXOpen.OpenXml.TableDocumentData.GetRowHeigths ( )

Gets the height array of the rows

Created in NX11.0.0

License requirements: None.

Returns
the column width array
unsafe void NXOpen.OpenXml.TableDocumentData.SetCaption ( NXOpen.OpenXml.TableDocumentData.CaptionPosition  position,
string  caption 
)

Sets the caption of the table data

Created in NX11.0.0

License requirements: None.

Parameters
position
caption
unsafe void NXOpen.OpenXml.TableDocumentData.SetColumnWidths ( double[]  widths)

Sets the width array of the columns

Created in NX11.0.0

License requirements: None.

Parameters
widthsthe column width array
unsafe void NXOpen.OpenXml.TableDocumentData.SetRowHeigths ( double[]  heigths)

Sets the height array of the rows

Created in NX11.0.0

License requirements: None.

Parameters
heigthsthe column width array

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