Пример #1
0
        public ShapeGeometryRow AddArcTo(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a)
        {
            var row = ShapeGeometryRow.CreateArcTo(x, y, a);

            this.Rows.Add(row);
            return(row);
        }
Пример #2
0
        public ShapeGeometryRow AddSplineKnot(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a)
        {
            var row = ShapeGeometryRow.CreateSplineKnot(x, y, a);

            this.Rows.Add(row);
            return(row);
        }
Пример #3
0
        public ShapeGeometryRow AddLineTo(ShapeSheet.CellValue x, ShapeSheet.CellValue y)
        {
            var row = ShapeGeometryRow.CreateLineTo(x, y);

            this.Rows.Add(row);
            return(row);
        }
Пример #4
0
        public ShapeGeometryRow AddInfiniteLine(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a, ShapeSheet.CellValue b)
        {
            var row = ShapeGeometryRow.CreateInfiniteLine(x, y, a, b);

            this.Rows.Add(row);
            return(row);
        }
Пример #5
0
        public ShapeGeometryRow AddSplineStart(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a, ShapeSheet.CellValue b, ShapeSheet.CellValue c, ShapeSheet.CellValue d)
        {
            var row = ShapeGeometryRow.CreateSplineStart(x, y, a, b, c, d);

            this.Rows.Add(row);
            return(row);
        }
Пример #6
0
        public ShapeGeometryRow AddEllipse(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a, ShapeSheet.CellValue b, ShapeSheet.CellValue c, ShapeSheet.CellValue d)
        {
            var row = ShapeGeometryRow.CreateEllipse(x, y, a, b, c, d);

            this.Rows.Add(row);
            return(row);
        }
Пример #7
0
        public ShapeGeometryRow AddNurbsTo(ShapeSheet.CellValue x, ShapeSheet.CellValue y, ShapeSheet.CellValue a, ShapeSheet.CellValue b, ShapeSheet.CellValue c, ShapeSheet.CellValue d, ShapeSheet.CellValue e)
        {
            var row = ShapeGeometryRow.CreateNurbsTo(x, y, a, b, c, d, e);

            this.Rows.Add(row);
            return(row);
        }
Пример #8
0
        public static ShapeGeometryRow CreateMoveTo(ShapeSheet.CellValue x, ShapeSheet.CellValue y)
        {
            // http://msdn.microsoft.com/en-us/library/aa195679(v=office.11).aspx

            var row = new ShapeGeometryRow(IVisio.VisRowTags.visTagMoveTo);

            row.X = x;
            row.Y = y;
            return(row);
        }
Пример #9
0
        public static ShapeGeometryRow CreateSplineKnot(ShapeSheet.CellValue x,
                                                        ShapeSheet.CellValue y,
                                                        ShapeSheet.CellValue a)
        {
            // http://msdn.microsoft.com/en-us/library/aa195667(v=office.11).aspx

            var row = new ShapeGeometryRow(IVisio.VisRowTags.visTagSplineSpan);

            row.X = x;
            row.Y = y;
            row.A = a;
            return(row);
        }
Пример #10
0
        public static ShapeGeometryRow CreateInfiniteLine(ShapeSheet.CellValue x,
                                                          ShapeSheet.CellValue y,
                                                          ShapeSheet.CellValue a,
                                                          ShapeSheet.CellValue b)
        {
            // http://msdn.microsoft.com/en-us/library/aa195682(v=office.11).aspx

            var row = new ShapeGeometryRow(IVisio.VisRowTags.visTagInfiniteLine);

            row.X = x;
            row.Y = y;
            row.A = a;
            row.B = b;
            return(row);
        }
Пример #11
0
        public static ShapeGeometryRow CreateSplineStart(ShapeSheet.CellValue x,
                                                         ShapeSheet.CellValue y,
                                                         ShapeSheet.CellValue a,
                                                         ShapeSheet.CellValue b,
                                                         ShapeSheet.CellValue c,
                                                         ShapeSheet.CellValue d)
        {
            // http://msdn.microsoft.com/en-us/library/aa195663(v=office.11).aspx

            var row = new ShapeGeometryRow(IVisio.VisRowTags.visTagSplineBeg);

            row.X = x;
            row.Y = y;
            row.A = a;
            row.B = b;
            row.C = c;
            row.D = d;
            return(row);
        }
Пример #12
0
        public static ShapeGeometryRow CreateNurbsTo(ShapeSheet.CellValue x,
                                                     ShapeSheet.CellValue y,
                                                     ShapeSheet.CellValue a,
                                                     ShapeSheet.CellValue b,
                                                     ShapeSheet.CellValue c,
                                                     ShapeSheet.CellValue d,
                                                     ShapeSheet.CellValue e)
        {
            // http://msdn.microsoft.com/en-us/library/aa195685(v=office.11).aspx

            var row = new ShapeGeometryRow(IVisio.VisRowTags.visTagEllipse);

            row.X = x;
            row.Y = y;
            row.A = a;
            row.B = b;
            row.C = c;
            row.D = d;
            row.E = e;
            return(row);
        }