Esempio n. 1
0
            public TextCells GetCells(VA.ShapeSheet.CellData <double>[] row)
            {
                var cells = new TextCells();

                cells.BottomMargin   = row[BottomMargin.Ordinal];
                cells.LeftMargin     = row[LeftMargin.Ordinal];
                cells.RightMargin    = row[RightMargin.Ordinal];
                cells.TopMargin      = row[TopMargin.Ordinal];
                cells.DefaultTabStop = row[DefaultTabStop.Ordinal];
                cells.TextBkgnd      = row[TextBkgnd.Ordinal].ToInt();
                cells.TextBkgndTrans = row[TextBkgndTrans.Ordinal];
                cells.TextDirection  = row[TextDirection.Ordinal].ToInt();
                cells.VerticalAlign  = row[VerticalAlign.Ordinal].ToInt();
                cells.TxtPinX        = row[TxtPinX.Ordinal];
                cells.TxtPinY        = row[TxtPinY.Ordinal];
                cells.TxtLocPinX     = row[TxtLocPinX.Ordinal];
                cells.TxtLocPinY     = row[TxtLocPinY.Ordinal];
                cells.TxtWidth       = row[TxtWidth.Ordinal];
                cells.TxtHeight      = row[TxtHeight.Ordinal];
                cells.TxtAngle       = row[TxtAngle.Ordinal];
                return(cells);
            }
Esempio n. 2
0
 public TextCells GetCells(VA.ShapeSheet.CellData<double>[] row)
 {
     var cells = new TextCells();
     cells.BottomMargin = row[BottomMargin.Ordinal];
     cells.LeftMargin = row[LeftMargin.Ordinal];
     cells.RightMargin = row[RightMargin.Ordinal];
     cells.TopMargin = row[TopMargin.Ordinal];
     cells.DefaultTabStop = row[DefaultTabStop.Ordinal];
     cells.TextBkgnd = row[TextBkgnd.Ordinal].ToInt();
     cells.TextBkgndTrans = row[TextBkgndTrans.Ordinal];
     cells.TextDirection = row[TextDirection.Ordinal].ToInt();
     cells.VerticalAlign = row[VerticalAlign.Ordinal].ToInt();
     cells.TxtPinX = row[TxtPinX.Ordinal];
     cells.TxtPinY = row[TxtPinY.Ordinal];
     cells.TxtLocPinX = row[TxtLocPinX.Ordinal];
     cells.TxtLocPinY = row[TxtLocPinY.Ordinal];
     cells.TxtWidth = row[TxtWidth.Ordinal];
     cells.TxtHeight = row[TxtHeight.Ordinal];
     cells.TxtAngle = row[TxtAngle.Ordinal];
     return cells;
 }