/// <summary> /// Builds a DisplayCollection. /// </summary> /// <returns>the DisplayCollection.</returns> protected override DisplayCollection BuildDisplayItem() { DisplayCollection tempDC = new DisplayCollection(); tempDC.ClearDisplayFirst = true; tempDC.AddDisplayObject(this.MainViewModelRef.LoadImageVM.Image.CopyObj(1, -1)); tempDC.AddDisplayObject( this.Processor.WaferRegion.CopyObj(1, -1), this.MainViewModelRef.ChangeColorProcessVM.CurrentDisplayColor, 1, DrawModes.Margin); return(tempDC); }
/// <summary> /// Builds a DisplayCollection. /// </summary> /// <returns>the DisplayCollection.</returns> protected override DisplayCollection BuildDisplayItem() { DisplayCollection tempDC = new DisplayCollection(); tempDC.ClearDisplayFirst = true; tempDC.AddDisplayObject(this.Processor.Image.CopyObj(1, -1)); return(tempDC); }