public void SetRowBandSize(int size) { CT_TblPr tblPr = GetTrPr(); CT_DecimalNumber rowSize = tblPr.IsSetTblStyleRowBandSize() ? tblPr.tblStyleRowBandSize : tblPr.AddNewTblStyleRowBandSize(); rowSize.val = size.ToString(); }
public int GetRowBandSize() { int result = 0; CT_TblPr trPr = this.GetTrPr(); if (trPr.IsSetTblStyleRowBandSize()) { int.TryParse(trPr.tblStyleRowBandSize.val, out result); } return(result); }
public int GetRowBandSize() { int size = 0; CT_TblPr tblPr = GetTrPr(); if (tblPr.IsSetTblStyleRowBandSize()) { CT_DecimalNumber rowSize = tblPr.tblStyleRowBandSize; int.TryParse(rowSize.val, out size); } return(size); }
public void SetRowBandSize(int size) { CT_TblPr trPr = this.GetTrPr(); (trPr.IsSetTblStyleRowBandSize() ? trPr.tblStyleRowBandSize : trPr.AddNewTblStyleRowBandSize()).val = size.ToString(); }