This is a migrated thread and some comments may be shown as answers.

RTF Or PDF Background Support

4 Answers 199 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 2
John asked on 20 Apr 2007, 05:47 AM
I need to print legal contracts.  What support for RTF on the reports will be available? I need to format text left/right/full justification, underline some word, bold some words all in the same text box.

As an alternative I could use a PDF file as a background image.  The PDF file will have all of the formated text and lines, etc.

Thanks,
John

4 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 24 Apr 2007, 02:54 PM
Hi John,

We definitely understand your needs but at the time being we don't support RTF neither as a report item (some kind of a TextBox item) nor as an export format. Both are on our TODO list for next version(s). For now you can format only the whole TextBox format - not only some words.

The second scenario you're talking about is possible too - you can set a background image to the Report  through Report.Style.BackgroundImage and it will be printed on every report page. You can also consider setting the PDF image as a background of the Detail section and make it print on a separate page (by using the DetailSection.PageBreak property).
 

Kind regards,
Svetoslav
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
briankb
Top achievements
Rank 2
answered on 02 May 2008, 08:40 AM

I tried to set the Report.Style.BackgroundImage programmatically (no designer) and it says it's read only.

0
Rossen Hristov
Telerik team
answered on 02 May 2008, 12:50 PM
Hi Briankb,

Thank you for contacting Telerik Support.

The BackgroundImage property is read-only by design since it is a composite property. If you open the property grid and locate the BackgroundImage property you will notice that it has three properties that control the actual background image. They are ImageData, MimeType and Repeat. The combination of these three defines how the background image will be rendered.

If you want to define your background image programmatically you should assign a System.Drawing.Image object to the ImageData property as described in the API Docs.

Please let us know if you have any other questions.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Vojin
Top achievements
Rank 1
answered on 18 Jan 2011, 04:33 PM
Hello,

I need to print reports which have pdf for background. Can I place checkboxes, labels and other controls onto pdf?
Tags
General Discussions
Asked by
John
Top achievements
Rank 2
Answers by
Svetoslav
Telerik team
briankb
Top achievements
Rank 2
Rossen Hristov
Telerik team
Vojin
Top achievements
Rank 1
Share this question
or