public MockShape(Microsoft.Office.Core.MsoShapeType type = Microsoft.Office.Core.MsoShapeType.msoTextBox,int z = 1) { this.textEffect = new MockTextEffectFormat(); this.textFrame = new MockTextFrame2(); this.fill = new MockFillFormat(); this.type = type; //default = tb this.z = 1; this.id = Int32.Parse(Settings.NextRandomValue().Split('-')[0]); }
public MockShape(Microsoft.Office.Core.MsoShapeType type = Microsoft.Office.Core.MsoShapeType.msoTextBox, int z = 1) { this.textEffect = new MockTextEffectFormat(); this.textFrame = new MockTextFrame2(); this.fill = new MockFillFormat(); this.type = type; //default = tb this.z = 1; this.id = Int32.Parse(Settings.NextRandomValue().Split('-')[0]); }