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; }
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); }
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); }
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); }
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); }