示例#1
0
 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();
 }
示例#2
0
 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();
 }