예제 #1
0
        /// <summary>
        /// Sets the vertical alignment of the cell
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public TableCell SetVerticalAlignment(TableVerticalAlignment value)
        {
            var tableCellVerticalAlignment = GetTableCellVerticalAlignment();

            tableCellVerticalAlignment.Val = Convert.ToTableVerticalAlignmentValues(value);

            return(this);
        }
예제 #2
0
 internal static DocumentFormat.OpenXml.Wordprocessing.TableVerticalAlignmentValues ToTableVerticalAlignmentValues(TableVerticalAlignment value)
 {
     return((DocumentFormat.OpenXml.Wordprocessing.TableVerticalAlignmentValues)((int)value));
 }