public Formatting() { this.ShapeFormatCells = new Shapes.ShapeFormatCells(); this.CharacterFormatCells = new VisioAutomation.Text.CharacterFormatCells(); this.ParagraphFormatCells = new VisioAutomation.Text.ParagraphFormatCells(); this.TextBlockCells = new VisioAutomation.Text.TextBlockCells(); }
public TextBlock(Geometry.Size size, string text) { this.Text = text; this.Size = size; this.TextBlockCells = new VisioAutomation.Text.TextBlockCells(); this.ParagraphFormatCells = new VisioAutomation.Text.ParagraphFormatCells(); this.FormatCells = new Shapes.ShapeFormatCells(); this.CharacterFormatCells = new VisioAutomation.Text.CharacterFormatCells(); }