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

Contains methods for adding document data for CAE Report. More...

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

Public Member Functions

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
NXOpen.OpenXml.TableDocumentData 
AddTable (int columnCount, int rowCount)
 Creates a new NXOpen.OpenXml.TableDocumentData object. More...
 
unsafe int GetDataCount ()
 Gets the number of data to be exported More...
 
unsafe NXOpen.OpenXml.DocumentData GetNthData (int index)
 Gets the nth document data object. More...
 
unsafe void DeleteNthData (int index)
 Deletes the nth document data More...
 
unsafe void DeleteAllData ()
 Deletes all document 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

Contains methods for adding document data for CAE Report.

Created in NX11.0.0

Member Function Documentation

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

Creates a new NXOpen.OpenXml.ImageGroupDocumentData object.

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

Created in NX11.0.0

License requirements: None.

Returns
the image group data
unsafe NXOpen.OpenXml.TableDocumentData NXOpen.OpenXml.DocumentDataGroup.AddTable ( int  columnCount,
int  rowCount 
)

Creates a new NXOpen.OpenXml.TableDocumentData object.

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

Created in NX11.0.0

License requirements: None.

Parameters
columnCountthe column size of the table
rowCountthe row size of the table
Returns
the table data
unsafe NXOpen.OpenXml.TextDocumentData NXOpen.OpenXml.DocumentDataGroup.AddText ( string  textContent)

Creates a new NXOpen.OpenXml.TextDocumentData object.

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

Created in NX11.0.0

License requirements: None.

Parameters
textContentthe content of the text data
Returns
the text data
unsafe void NXOpen.OpenXml.DocumentDataGroup.DeleteAllData ( )

Deletes all document data

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.OpenXml.DocumentDataGroup.DeleteNthData ( int  index)

Deletes the nth document data

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of data
override void NXOpen.OpenXml.DocumentDataGroup.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.DocumentDataGroup.GetDataCount ( )

Gets the number of data to be exported

Created in NX11.0.0

License requirements: None.

Returns
the number of data
unsafe NXOpen.OpenXml.DocumentData NXOpen.OpenXml.DocumentDataGroup.GetNthData ( int  index)

Gets the nth document data object.

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

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of data
Returns
the data

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