Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Tables.MergedCells.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {            
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_WorkingWithTables();
            CheckCellsMerged(dataDir);
            // The below method shows how to create a table with two rows with cells in the first row horizontally merged.
            HorizontalMerge(dataDir);
            // The below method shows how to create a table with two columns with cells merged vertically in the first column.
            VerticalMerge(dataDir);
            // The below method shows how to merges the range of cells between the two specified cells.   
            MergeCellRange(dataDir);
            // Show how to prints the horizontal and vertical merge of a cell.
            PrintHorizontalAndVerticalMerged(dataDir);
        }
        public static void CheckCellsMerged(string dataDir)