コード例 #1
0
ファイル: ShapeEffects.cs プロジェクト: xiepeixing/npoi
 public CT_RelativeRect AddNewFillRect()
 {
     this.fillRectField = new CT_RelativeRect();
     return this.fillRectField;
 }
コード例 #2
0
ファイル: BaseTypes.cs プロジェクト: 89sos98/npoi
 public static CT_RelativeRect Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_RelativeRect ctObj = new CT_RelativeRect();
     ctObj.l = XmlHelper.ReadInt(node.Attributes["l"]);
     ctObj.t = XmlHelper.ReadInt(node.Attributes["t"]);
     ctObj.r = XmlHelper.ReadInt(node.Attributes["r"]);
     ctObj.b = XmlHelper.ReadInt(node.Attributes["b"]);
     return ctObj;
 }
コード例 #3
0
ファイル: ShapeEffects.cs プロジェクト: xiepeixing/npoi
 public CT_PathShadeProperties()
 {
     this.fillToRectField = new CT_RelativeRect();
 }
コード例 #4
0
ファイル: ShapeEffects.cs プロジェクト: xoposhiy/npoi
 public CT_GradientFillProperties()
 {
     this.tileRectField = new CT_RelativeRect();
     this.pathField = new CT_PathShadeProperties();
     this.linField = new CT_LinearShadeProperties();
     this.gsLstField = new List<CT_GradientStop>();
 }