PDF Document Procecessing - Demo Sample

2 posts, 0 answers
  1. Brian
    Brian avatar
    25 posts
    Member since:
    Apr 2008

    Posted 27 Nov 2014 Link to this post

    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")) 

    Your VB demo project will not compile.

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



  2. Dimitar
    Dimitar avatar
    1929 posts

    Posted 02 Dec 2014 Link to this post

    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.

    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.

Back to Top