Sign In  Sign Up Live-Chat

Is relative path is supported in Aspoe.Pdf ?

Last post 08-20-2008, 8:07 AM by forever. 6 replies.
Sort Posts: Previous Next
  •  08-07-2008, 6:47 AM 138722

    Is relative path is supported in Aspoe.Pdf ?

    I have evelution version of Aspose.Pdf library

    and Use BindHTML method by passing Html

    inside my html there are several <Image> tags and those tag get image src as String

    so i provide "/ImageWriter.aspx?ImageId=1234"

    at client side my image get rendered but from server how can i set binary data ?

    Is there any other way to do so ? if relative path doent support then ?

     
  •  08-07-2008, 9:06 AM 138763 in reply to 138722

    Re: Is relative path is supported in Aspoe.Pdf ?

    Hi,

    Thank you for considering Aspose.

    I am afraid I can't understand your requirement exactly. Can you please elaborate "at client side my image get rendered but from server how can i set binary data"?

    As I know relative path is supported if you use image file like "/img1.jpg". But I am not sure if "/ImageWriter.aspx?ImageId=1234" is supported. I will let the developers check this issue and reply to you soon.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-07-2008, 9:20 AM 138769 in reply to 138763

    Re: Is relative path is supported in Aspoe.Pdf ?

    Hi,

    Thanks for reply.

    my html contains image src = "/ImageWriter.aspx?ImageId=1234"

    "/ImageWriter.aspx?ImageId=1234" return me binary write of image

    but while i render in html my image src = "/ImageWriter.aspx?ImageId=1234"

    and then export to pdf it doents understand above path.

     

     
  •  08-07-2008, 9:34 AM 138770 in reply to 138769

    Re: Is relative path is supported in Aspoe.Pdf ?

    Hi,

    I think the "/ImageWriter.aspx?ImageId=1234" is not supported by Aspose.Pdf. We will investigate this issue and try to support it in the future version.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-07-2008, 9:35 AM 138771 in reply to 138770

    How to show Multiple images on Pdf ?

    Hello ,

    We are using Aspose.Pdf,to show images uses Aspose.Pdf.Image

    Can you tell me,On my HTML page if i am having different Images and i needs to show

    those images in my newly generated pdf file on that particular place.

    Make sure that we are using Aspose.pdf.Image  to show images on Pdf file.

    How to show multiple Images on pdf file on same place as inside HTML ?

          OR

    Aspose.pdf can be used as HTML/ASP.NET tag like <asp:Label ,<aspose:pdf etc.....

    Our Basic Requirement is like

    <Table>

    <TR>

    <Td>

    <image src="/Images.Aspx?ImageId=1234"> = This will dump binary data to response.

    can we relpace above line code to <Aspose:PdfImage Scr="/Image.aspx?ImageId="1234">

    </Td>

    </Tr>

    </Table>

     

    Thanks in Advance,

    Kishan

    Filed under: aspose.pdf
     
  •  08-08-2008, 5:11 AM 138925 in reply to 138771

    Re: How to show Multiple images on Pdf ?

    Hello Kishan,

    With reference to our discussion over live support, please share the resource files and project so that we can test the issue at our end. I look forward in hearing from your side.


    Nayyer Shahbaz
    Support Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-20-2008, 8:07 AM 140583 in reply to 138925

    Re: How to show Multiple images on Pdf ?

    Hi,

    Please try BindHTMLFromUrl.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML