internal override void ArrangeCopyRange(int RowOfs, int ColOfs, TSheetInfo SheetInfo) { if ((Shape != null) && (Shape.CopiedTo(SheetInfo.CopiedGen) != null)) { DwgCache.Solver.ContainedRecords.Add(TEscherCallOutRuleRecord.Clone(this, RowOfs, ColOfs, DwgCache, DwgGroupCache, SheetInfo)); } }
protected override TEscherRecord DoCopyTo(int RowOfs, int ColOfs, TEscherDwgCache NewDwgCache, TEscherDwgGroupCache NewDwgGroupCache, TSheetInfo SheetInfo) { TEscherCallOutRuleRecord R = (TEscherCallOutRuleRecord)base.DoCopyTo(RowOfs, ColOfs, NewDwgCache, NewDwgGroupCache, SheetInfo); if (Shape != null) { R.Shape = (TEscherSpRecord)Shape.CopiedTo(SheetInfo.CopiedGen); if (R.Shape != null) { R.SpId = R.Shape.ShapeId; } else { R.SpId = 0; } } R.RuleId = DwgCache.Solver.IncMaxRuleId(); return(R); }