示例#1
0
文件: CT_SheetPr.cs 项目: kenlen/npoi
 public CT_PageSetUpPr AddNewPageSetUpPr()
 {
     this.pageSetUpPrField = new CT_PageSetUpPr();
     return this.pageSetUpPrField;
 }
示例#2
0
文件: Sheet.cs 项目: vardars/npoi
 public static CT_PageSetUpPr Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_PageSetUpPr ctObj = new CT_PageSetUpPr();
     ctObj.autoPageBreaks = XmlHelper.ReadBool(node.Attributes["autoPageBreaks"]);
     ctObj.fitToPage = XmlHelper.ReadBool(node.Attributes["fitToPage"]);
     return ctObj;
 }