Print Page | Close Window

CXTPRichRender support Print Preview?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23942
Printed Date: 25 June 2024 at 10:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPRichRender support Print Preview?
Posted By: franji1
Subject: CXTPRichRender support Print Preview?
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net