NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | List of all members
NXOpen.Report.ResultXmlFileWriter Class Reference

Contains methods for adding document data and generating result XML file for CAE Report. More...

Inheritance diagram for NXOpen.Report.ResultXmlFileWriter:

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 columnSize, int rowSize)
 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)
 Removes the nth document data More...
 
unsafe void DeleteAllData ()
 Removes all document data More...
 
unsafe void SaveToFile (string fileName)
 Exports all document data to result XML file More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Detailed Description

Contains methods for adding document data and generating result XML file for CAE Report.

Created in NX11.0.0

Member Function Documentation

unsafe NXOpen.OpenXml.ImageGroupDocumentData NXOpen.Report.ResultXmlFileWriter.AddImageGroup ( )

Creates a new NXOpen.OpenXml.ImageGroupDocumentData object.

Does not to free this object, it will be free while deleting NXOpen.Report.ResultXmlFileWriter object

Created in NX11.0.0

License requirements: None.

Returns
the image group data
unsafe NXOpen.OpenXml.TableDocumentData NXOpen.Report.ResultXmlFileWriter.AddTable ( int  columnSize,
int  rowSize 
)

Creates a new NXOpen.OpenXml.TableDocumentData object.

Does not to free this object, it will be free while deleting NXOpen.Report.ResultXmlFileWriter object

Created in NX11.0.0

License requirements: None.

Parameters
columnSizethe column size of the table
rowSizethe row size of the table
Returns
the table data
unsafe NXOpen.OpenXml.TextDocumentData NXOpen.Report.ResultXmlFileWriter.AddText ( string  textContent)

Creates a new NXOpen.OpenXml.TextDocumentData object.

Does not to free this object, it will be free while deleting NXOpen.Report.ResultXmlFileWriter object

Created in NX11.0.0

License requirements: None.

Parameters
textContentthe content of the text data
Returns
the text data
unsafe void NXOpen.Report.ResultXmlFileWriter.DeleteAllData ( )

Removes all document data

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.Report.ResultXmlFileWriter.DeleteNthData ( int  index)

Removes the nth document data

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of data
override void NXOpen.Report.ResultXmlFileWriter.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.Report.ResultXmlFileWriter.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.Report.ResultXmlFileWriter.GetNthData ( int  index)

Gets the nth document data object.

Does not to free this object, it will be free while deleting NXOpen.Report.ResultXmlFileWriter object

Created in NX11.0.0

License requirements: None.

Parameters
indexthe index of data
Returns
the data
unsafe void NXOpen.Report.ResultXmlFileWriter.SaveToFile ( string  fileName)

Exports all document data to result XML file

Created in NX11.0.0

License requirements: None.

Parameters
fileNamethe file name to be exported

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