public override bool SetPageSize(Rectangle rect) { rtfDoc.GetDocumentHeader().GetPageSetting().SetPageSize(rect); return true; }