/// <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); }
internal static DocumentFormat.OpenXml.Wordprocessing.TableVerticalAlignmentValues ToTableVerticalAlignmentValues(TableVerticalAlignment value) { return((DocumentFormat.OpenXml.Wordprocessing.TableVerticalAlignmentValues)((int)value)); }