Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
Inserting a pdf file into another
posted

Hi

I have a pdf file that contains a picture.

is there any way I can insert this picture into another pdf file that I am creating dynamically with the Documents.Report class.

I would love something like sectionPage.AddImage(string filename , float top, float left)  but I know there isnt . Is there anything else I can do to add contents of another pdf and place it at a specific location on the page.

Thanks.

Parents
  • 37774
    posted

    One a report is published, there is no mechanism for reloading it back into the Infragistics.Documents object model; this is because PDF does not contain the higher-level objects that the Documents engine exposes (i.e. tree, grid, table, etc).  There is an AddImage method on both the ISection and ISectionPage, however, and one of the overloads for the Infragistics.Documents.Graphics.Image constructor takes the path of the image (or you could pass in a .NET Image instance).

    -Matt

Reply Children