public XPSPageSheetModel(XPSDocumentPageWrapper pageWrapper, Guid id, SheetDisposition disposition, Rectangle bounds, int height) : base(id, disposition, bounds, false, height) { this.m_DocumentPage = null; this.m_DocumentPageWrapper = pageWrapper; this.m_Width = bounds.Width; }
public XPSPageSheetMessage(XPSPageSheetModel sheet, SheetCollection collection) : base(sheet, collection) { if (sheet.DocumentPageWrapper != null) { using (Synchronizer.Lock(sheet.SyncRoot)) { this.m_DocumentPageWrapper = sheet.DocumentPageWrapper; this.Height = sheet.Height; this.Width = sheet.Width; } } }