コード例 #1
0
 /// <summary>
 /// CT_Anchor class constructor
 /// </summary>
 public CT_Anchor()
 {
     this.effectExtentField = new CT_EffectExtent();
     this.positionVField    = new CT_PosV();
     this.positionHField    = new CT_PosH();
     this.simplePosField    = new CT_Point2D();
 }
コード例 #2
0
 /// <summary>
 /// CT_Anchor class constructor
 /// </summary>
 public CT_Anchor()
 {
     this.effectExtentField = new CT_EffectExtent();
     this.positionVField = new CT_PosV();
     this.positionHField = new CT_PosH();
     this.simplePosField = new CT_Point2D();
 }
コード例 #3
0
ファイル: WordprocessingDrawing.cs プロジェクト: hjlfmy/npoi
 public static CT_PosH Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_PosH ctObj = new CT_PosH();
     ctObj.posOffset = XmlHelper.ReadInt(node.Attributes["wp:posOffset"]);
     if (node.Attributes["wp:align"] != null)
         ctObj.align = (ST_AlignH)Enum.Parse(typeof(ST_AlignH), node.Attributes["wp:align"].Value);
     if (node.Attributes["wp:relativeFrom"] != null)
         ctObj.relativeFrom = (ST_RelFromH)Enum.Parse(typeof(ST_RelFromH), node.Attributes["wp:relativeFrom"].Value);
     return ctObj;
 }