private void Update(short section_index, short row_index, ShapeSheet.Writers.SrcWriter writer) { var x_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexX.Cell); var y_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexY.Cell); var a_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexA.Cell); var b_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexB.Cell); var c_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexC.Cell); var d_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexD.Cell); var e_src = new VA.ShapeSheet.Src(section_index, row_index, ShapeSheet.SrcConstants.GeometryVertexE.Cell); writer.SetValue(x_src, this.X); writer.SetValue(y_src, this.Y); writer.SetValue(a_src, this.A); writer.SetValue(b_src, this.B); writer.SetValue(c_src, this.C); writer.SetValue(d_src, this.D); writer.SetValue(e_src, this.E); }
public void AddTo(IVisio.Shape shape, ShapeSheet.Writers.SrcWriter writer, short row, short section) { short row_index = shape.AddRow(section, row, (short)this.GetRowTagType()); this.Update(section, row_index, writer); }