CXTPRichRender support Print Preview? |
Post Reply |
Author | |
franji1
Groupie Joined: 28 June 2005 Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 20 January 2020 at 3:41pm |
Using 13.2 I have something similar to what the XTP toolkit has implemented via CXTPRichRender, and I got it working for Display and Print, but NOT FOR PRINT PREVIEW. Print Preview of MY implementation does not zoom based on the Print Preview window size. It's fixed (screen size?). Since I can't get my code to work, and I am looking to move to CXTPRichRender. However, from what I've read, zooming via IText interface is via the TxGetExtent method? (Is this correct?) But I see the implementation in CXTPRichRender is also just a return of E_NOTIMPL, same as mine. So, the first question, does CXTPRichRender work in a Print Preview? I am dawing into a CView derived View. My implementation works great on the Display, and on a Printer device, but NOT when doing Print Preview. Do you have any examples of a CXTPRichRender being used by a CView for rendering different RTF at various CRects within the view's client area?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |