DOCX to PDF

8 posts, 0 answers
  1. Justin
    Justin avatar
    8 posts
    Member since:
    Mar 2011

    Posted 20 Apr 2011 Link to this post

    Is it possible to programatically convert a DOCX to a PDF in a C# web application?

    I currently have RadControls for ASP.NET AJAX and Silverlight and Telerik Reporting.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Apr 2011 Link to this post

    Hello Justin,

    Take a look at the following msdn documentation.
    http://msdn.microsoft.com/en-us/library/bb412305.aspx#Y2222

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Justin
    Justin avatar
    8 posts
    Member since:
    Mar 2011

    Posted 21 Apr 2011 Link to this post

    Shinu--

    Using Word Interop isn't an option for us at this point, because of licensing restrictions.

    Do you know of another way to convert to PDF using one of the Telerik libraries or the OpenXML 2.0 libraries?

    Thanks
    -Justin
  5. Daniel
    Admin
    Daniel avatar
    4946 posts

    Posted 22 Apr 2011 Link to this post

    Hello Justin,

    Converting documents from one format to another is out of the scope of our suite. You could use a third-party solution if you prefer not to use the Microsoft Office's interoperability features.

    Kind regards,
    Daniel
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Justin
    Justin avatar
    8 posts
    Member since:
    Mar 2011

    Posted 25 Apr 2011 Link to this post

    Daniel--

    In this thread, it looks like the user is opening a DOCX, making a change and exporting to PDF using the RadDocument/IDocumentFormatProvider:

    http://www.telerik.com/community/forums/wpf/richtextbox/open-a-docx-make-change-save-as-pdf.aspx

    Is this not possible using the products I currently have?
  7. Daniel
    Admin
    Daniel avatar
    4946 posts

    Posted 28 Apr 2011 Link to this post

    Hello Justin,

    I apologize, my answer was not very clear - by "our suite" I meant RadControls for ASP.NET AJAX. I would strongly recommend that you post questions related to the other product lines in the corresponding forums.

    Kind regards,
    Daniel
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  8. AcsenseLuuk
    AcsenseLuuk avatar
    3 posts
    Member since:
    May 2012

    Posted 30 Jun 2014 Link to this post

    Is this conversion possible now the ASP.NET AJAX UI Controls include the Document Processing library? 

    I saw this post: " http://www.telerik.com/forums/word-document-to-pdf-conversion-image-issue-using-pdfformatprovider " which was posted in an ASP.NET AJAX forum, but seems to be WPF.

    Thanks in advance
  9. Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 03 Jul 2014 Link to this post

    Hello Luuk,

    I am afraid that this approach will not working by the provided Document Processing Libraries, because the dll needed for implementing a RadDocument class is missing. The reason for not including it is that the dll is tightly coupled with WPF. Nevertheless if you have the installed the WPF you could get the Telerik.Windows.Documents dll file and include it in your project.

    Regards,
    Kostadin
    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017