ImportMatrixWorkbook() public method

public ImportMatrixWorkbook ( Microsoft application, String sourceWorkbookName, System.Boolean sourceWorkbookHasVertexNames, GraphDirectedness sourceWorkbookDirectedness ) : IGraph
application Microsoft
sourceWorkbookName String
sourceWorkbookHasVertexNames System.Boolean
sourceWorkbookDirectedness GraphDirectedness
return IGraph
Esempio n. 1
0
        ImportFromMatrixWorkbook()
        {
            AssertValid();

            MatrixWorkbookImporter oMatrixWorkbookImporter =
                new MatrixWorkbookImporter();

            m_oGraph = oMatrixWorkbookImporter.ImportMatrixWorkbook(
                m_oDestinationNodeXLWorkbook.Application,
                this.SourceWorkbookName,

                m_oImportFromMatrixWorkbookDialogUserSettings.
                SourceWorkbookHasVertexNames,

                m_oImportFromMatrixWorkbookDialogUserSettings.
                SourceWorkbookDirectedness
                );
        }
    ImportFromMatrixWorkbook()
    {
        AssertValid();

        MatrixWorkbookImporter oMatrixWorkbookImporter =
            new MatrixWorkbookImporter();

        m_oGraph = oMatrixWorkbookImporter.ImportMatrixWorkbook(
            m_oDestinationNodeXLWorkbook.Application,
            this.SourceWorkbookName,

            m_oImportFromMatrixWorkbookDialogUserSettings.
                SourceWorkbookHasVertexNames,

            m_oImportFromMatrixWorkbookDialogUserSettings.
                SourceWorkbookDirectedness
            );
    }