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

PDF Document Procecessing - Demo Sample

1 Answer 138 Views
PdfProcessing
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 27 Nov 2014, 02:59 PM
In your demo projects, there seems to be a discrepancy between the VB Code and the CSharp Code:

            editor.Position.Translate(defaultLeftIndent * 2, page.Size.Height - 180) 
            Using stream As Stream = GetSampleResourceStream("PdfProcessing.telerik.jpg") 
                editor.DrawImage(stream, ImageFormat.Jpeg) 
            End Using

            editor.Position.Translate(defaultLeftIndent * 2, page.Size.Height - 180); 
            using (Stream stream = GetSampleResourceStream("PdfProcessing.telerik.jpg")) 
            { 
                editor.DrawImage(stream); 
            }

Your VB demo project will not compile.

It would be more friendly, if the DrawImage function had a System.Drawing.Image as argument.

 

/Brian



1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 02 Dec 2014, 02:43 PM
Hi Brian,

Thank you for writing.

I can confirm that this difference exist. Nevertheless this is already fixed and will be changed in the upcoming service pack.

Please note that this component is intended to be used with several different technologies (Winforms , WPF, Silverlight, ASP) and in some of them using a such type is not very common.

Your Telerik Points have been updated for this report.

Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PdfProcessing
Asked by
Brian
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or