C#CAD二次开发,导出EXCEL表格

{
public class ExportPmzbbService
{
private MapSelectService _mapService;
private Document _doc;

    public ExportPmzbbService()
    {
        _mapService = new MapSelectService();
        this._doc = CommonUtil.GetMdiDocument();
    }

    /// 
    /// 开始导出Excel表格
    /// 
    /// 
    /// 
    /// 
    /// 
    public bool Start(List cModelList, string strTemplatePath, string strSaveFolder)
    {
        string strSaveFilePath = strSaveFolder + @"\剖面坐标表.xls";

        int rowIndex = 1;//起始行
        int columnIndex = 0;//起始列

        Workbook wk = new Workbook(strTemplatePath);
        Worksheet sheet = wk.Worksheets[0];
      

你可能感兴趣的:(笔记,excel,cad,c#)