Example #1
0
            public LockCells GetCells(VA.ShapeSheet.CellData <double>[] row)
            {
                var cells = new LockCells();

                cells.LockAspect          = row[this.LockAspect.Ordinal].ToBool();
                cells.LockBegin           = row[this.LockBegin.Ordinal].ToBool();
                cells.LockCalcWH          = row[this.LockCalcWH.Ordinal].ToBool();
                cells.LockCrop            = row[this.LockCrop.Ordinal].ToBool();
                cells.LockCustProp        = row[this.LockCustProp.Ordinal].ToBool();
                cells.LockDelete          = row[this.LockDelete.Ordinal].ToBool();
                cells.LockEnd             = row[this.LockEnd.Ordinal].ToBool();
                cells.LockFormat          = row[this.LockFormat.Ordinal].ToBool();
                cells.LockFromGroupFormat = row[this.LockFromGroupFormat.Ordinal].ToBool();
                cells.LockGroup           = row[this.LockGroup.Ordinal].ToBool();
                cells.LockHeight          = row[this.LockHeight.Ordinal].ToBool();
                cells.LockMoveX           = row[this.LockMoveX.Ordinal].ToBool();
                cells.LockMoveY           = row[this.LockMoveY.Ordinal].ToBool();
                cells.LockRotate          = row[this.LockRotate.Ordinal].ToBool();
                cells.LockSelect          = row[this.LockSelect.Ordinal].ToBool();
                cells.LockTextEdit        = row[this.LockTextEdit.Ordinal].ToBool();
                cells.LockThemeColors     = row[this.LockThemeColors.Ordinal].ToBool();
                cells.LockThemeEffects    = row[this.LockThemeEffects.Ordinal].ToBool();
                cells.LockVtxEdit         = row[this.LockVtxEdit.Ordinal].ToBool();
                cells.LockWidth           = row[this.LockWidth.Ordinal].ToBool();
                return(cells);
            }
 public LockCells GetCells(VA.ShapeSheet.CellData<double>[] row)
 {
     var cells = new LockCells();
     cells.LockAspect = row[this.LockAspect.Ordinal].ToBool();
     cells.LockBegin = row[this.LockBegin.Ordinal].ToBool();
     cells.LockCalcWH = row[this.LockCalcWH.Ordinal].ToBool();
     cells.LockCrop = row[this.LockCrop.Ordinal].ToBool();
     cells.LockCustProp = row[this.LockCustProp.Ordinal].ToBool();
     cells.LockDelete = row[this.LockDelete.Ordinal].ToBool();
     cells.LockEnd = row[this.LockEnd.Ordinal].ToBool();
     cells.LockFormat = row[this.LockFormat.Ordinal].ToBool();
     cells.LockFromGroupFormat = row[this.LockFromGroupFormat.Ordinal].ToBool();
     cells.LockGroup = row[this.LockGroup.Ordinal].ToBool();
     cells.LockHeight = row[this.LockHeight.Ordinal].ToBool();
     cells.LockMoveX = row[this.LockMoveX.Ordinal].ToBool();
     cells.LockMoveY = row[this.LockMoveY.Ordinal].ToBool();
     cells.LockRotate = row[this.LockRotate.Ordinal].ToBool();
     cells.LockSelect = row[this.LockSelect.Ordinal].ToBool();
     cells.LockTextEdit = row[this.LockTextEdit.Ordinal].ToBool();
     cells.LockThemeColors = row[this.LockThemeColors.Ordinal].ToBool();
     cells.LockThemeEffects = row[this.LockThemeEffects.Ordinal].ToBool();
     cells.LockVtxEdit = row[this.LockVtxEdit.Ordinal].ToBool();
     cells.LockWidth = row[this.LockWidth.Ordinal].ToBool();
     return cells;
 }