コード例 #1
0
ファイル: ShapeFactory.cs プロジェクト: 89sos98/npoi
 /**
  * Create a new shape from the data provided.
  */
 public static Shape CreateShape(EscherContainerRecord spContainer, Shape parent){
     if (spContainer.GetRecordId() == EscherContainerRecord.SPGR_CONTAINER){
         return CreateShapeGroup(spContainer, parent);
     }
     return CreateSimpeShape(spContainer, parent);
 }