Imports a graph from an open matrix workbook.
Call ImportMatrixWorkbook to import a graph from an open matrix workbook.
Inheritance: WorkbookImporterBase
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
            );
    }