コード例 #1
0
 public VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell GetCells(System.Collections.Generic.IList<ShapeSheet.CellData<string>> row)
 {
     var cells = new VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell();
     cells.Value = row[this.Value];
     cells.Prompt = row[this.Prompt];
     return cells;
 }
コード例 #2
0
        public VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell GetCells(System.Collections.Generic.IList <ShapeSheet.CellData <string> > row)
        {
            var cells = new VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell();

            cells.Value  = row[this.Value];
            cells.Prompt = row[this.Prompt];
            return(cells);
        }
コード例 #3
0
        protected override void ProcessRecord()
        {
            var userprop = new VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell(this.Name, this.Value);
            if (this.Prompt != null)
            {
                userprop.Prompt = this.Prompt;
            }

            this.client.UserDefinedCell.Set(this.Shapes, userprop);
        }
コード例 #4
0
        protected override void ProcessRecord()
        {
            var userprop = new VA.Shapes.UserDefinedCells.UserDefinedCell(this.Name, this.Value);

            if (this.Prompt != null)
            {
                userprop.Prompt = this.Prompt;
            }

            this.client.UserDefinedCell.Set(this.Shapes, userprop);
        }
コード例 #5
0
        protected override void ProcessRecord()
        {
            var targets  = new VisioAutomation.Scripting.TargetShapes(this.Shapes);
            var userprop = new VisioAutomation.Shapes.UserDefinedCells.UserDefinedCell(this.Name, this.Value);

            if (this.Prompt != null)
            {
                userprop.Prompt = this.Prompt;
            }

            this.Client.UserDefinedCell.Set(targets, userprop);
        }