![]() _() įoreach (WordOM.Table table in _document.Tables) Public void InsertTableCell(int insertBeforeColumnIndex, string cellText, string tableName = "") TableApp.Quit(ref nothing, ref nothing, ref nothing) ![]() WordDoc.Close(ref nothing, ref nothing, ref nothing) WordDoc.SaveAs(ref path, ref format, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing, ref nothing) .AddPicture(FileName, ref LinkToFile, ref SaveWithDocument, ref Anchor) AddPicture(FileName, ref LinkToFile, ref SaveWithDocument) OperatePicture.ExportPicture(list_types+"_PLOT") (ref moveUnit, ref moveCount, ref nothing) Table.Cell(i + 2, j + 1).Range.Text = () = .WdLineStyle.wdLineStyleSingle įor (int l = 0 l < l++) Msword.Table table = (, + 1,, ref nothing, ref nothing) Msword.Document wordDoc = (ref nothing, ref nothing, ref nothing, ref nothing) Msword.Application tableApp = new msword.ApplicationClass() for (int l = 0 l list_tables,string image_path) msword.Table table = (, list_ + 1, list_, ref nothing, ref nothing) //msword.Table table = (, 3, 2, ref nothing, ref nothing) msword.Document wordDoc = (ref nothing, ref nothing, ref nothing, ref nothing) msword.Application tableApp = new msword.ApplicationClass() public static void createNewWord(Object path, DataTable list_tables) Public void SetTableFont(FontParams fp, int indTable = -1) * MSWord.Borders pBorders = m_pTable.Borders * Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, * m_pTable = m_pSelection.ConvertToTable(1, Type.Missing, Type.Missing, Type.Missing, Type.Missing, * object varInfo = m_pSelection.get_Information() * if (m_pDoc = null) m_pDoc = m_pApp.ActiveDocument *public void ConvertToTable(string strTable)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |