public override object Clone() { Rectangle bounds; using (Synchronizer.Lock(this.SyncRoot)) { bounds = this.Bounds; } XPSPageSheetModel s = new XPSPageSheetModel(this.m_DocumentPageWrapper, Guid.NewGuid(), this.Disposition, bounds, this.Height); return(s); }
public override object CloneToRemote() { Rectangle bounds; using (Synchronizer.Lock(this.SyncRoot)) { bounds = this.Bounds; } XPSPageSheetModel s = new XPSPageSheetModel(this.DocumentPageWrapper, Guid.NewGuid(), this.Disposition | SheetDisposition.Remote, bounds, this.Height); s.is_editable_ = false; return(s); }