|
-
May 9th, 2006, 12:28 PM
#1
Thread Starter
Frenzied Member
is there a way to write rtf content in printdocument control ? ? ?
Dear All,
we are trying to generate some complex reports using microsoft reportdocument and reportviewer control.
the reason we don't use crystal report that we need to have full control over the printing document as it is supposed to contain different images varying according to user selections and also varying data tables according to user input.
to make it short we have multiple hotel rates and information for each hotel and we want the system to create flyers for each hotel containing its images and description along with its rates.
the only thing we had a problem with that the hotel description is saved in rtf format, we want to write it on the report preserving its format !!
is it possible to write rtf block as it is on a report document ????
thank you very much in advance
BST RGDs
-
May 9th, 2006, 01:28 PM
#2
Re: is there a way to write rtf content in printdocument control ? ? ?
since the reportdocument object can only be written to by using the e.graphics object its no simple task.
graphics only has the DrawString method to write text out, and none of them take RTF as a param (wouldn't that be nice)
You may want to take a look at an article by Mike Gold. He writes a PHP color coded text editor with a richtextbox, and has a routine to print it, colors and all. I don't know if there are any limitations. Here is the article
http://www.c-sharpcorner.com/Code/20...ntaxEditor.asp
Also just so crystal reports doesn't get thrown under the bus, you can 100% create dynamic reports in crystal that display different images, in different spots...etc..
you can even create a report totally via code from scratch at runtime.
-
May 9th, 2006, 02:26 PM
#3
Thread Starter
Frenzied Member
Re: is there a way to write rtf content in printdocument control ? ? ?
Also just so crystal reports doesn't get thrown under the bus, you can 100% create dynamic reports in crystal that display different images, in different spots...etc..
is it possible in crystal reports 10 with vs2k3 , and how, do you have any useful links to read ??
thx . . .
-
May 9th, 2006, 03:29 PM
#4
Re: is there a way to write rtf content in printdocument control ? ? ?
I am sure its possible with CR10, although I only use CR that came with .NET
I use VS 2K3 as well...
You may want to check out the developer zone for .NET on the crystal website
http://www.businessobjects.com/produ...f=devzone_main
There is a zip file with 118 samples
-
May 10th, 2006, 10:06 AM
#5
Thread Starter
Frenzied Member
Re: is there a way to write rtf content in printdocument control ? ? ?
i will look into this link
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|