Пример #1
0
        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);
        }
Пример #2
0
        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);
        }