public static ShapeGeometryRow CreateMoveTo(ShapeSheet.CellValueLiteral x, ShapeSheet.CellValueLiteral 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);
        }
Пример #2
0
        public static ShapeGeometryRow CreateArcTo(ShapeSheet.CellValue x, ShapeSheet.CellValue y,
                                                   ShapeSheet.CellValue a)
        {
            // http://msdn.microsoft.com/en-us/library/aa195698(v=office.11).aspx

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

            row.X = x;
            row.Y = y;
            row.A = a;
            return(row);
        }
        public static ShapeGeometryRow CreateSplineKnot(ShapeSheet.CellValueLiteral x,
                                                        ShapeSheet.CellValueLiteral y,
                                                        ShapeSheet.CellValueLiteral 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);
        }
        public static ShapeGeometryRow CreateInfiniteLine(ShapeSheet.CellValueLiteral x,
                                                          ShapeSheet.CellValueLiteral y,
                                                          ShapeSheet.CellValueLiteral a,
                                                          ShapeSheet.CellValueLiteral 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);
        }
        public static ShapeGeometryRow CreateSplineStart(ShapeSheet.CellValueLiteral x,
                                                         ShapeSheet.CellValueLiteral y,
                                                         ShapeSheet.CellValueLiteral a,
                                                         ShapeSheet.CellValueLiteral b,
                                                         ShapeSheet.CellValueLiteral c,
                                                         ShapeSheet.CellValueLiteral 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);
        }
Пример #6
0
        public static ShapeGeometryRow CreateEllipse(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/aa195692(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;
            return(row);
        }
        public static ShapeGeometryRow CreateNurbsTo(ShapeSheet.CellValueLiteral x,
                                                     ShapeSheet.CellValueLiteral y,
                                                     ShapeSheet.CellValueLiteral a,
                                                     ShapeSheet.CellValueLiteral b,
                                                     ShapeSheet.CellValueLiteral c,
                                                     ShapeSheet.CellValueLiteral d,
                                                     ShapeSheet.CellValueLiteral 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);
        }