Hi,
I am using Dynamic PDF Generator for .NET for generating Dynamic PDF documents. Is it possible to use the .DPLX files that can be generated by Dynamic PDF Designer and then load it directly into a
Document object so that the document object can have the co-ordinates of various page elements within a page. Then I could modify the contents of the Page Elements dynamically and then use the Document object to finally output the PDF.
Is it possible to use .DPLX files with Document Generator for >NET
Re: Is it possible to use .DPLX files with Document Generator for >NET
Support · Jul 31, 2009Hello,
It is not possible to use the DPLX files with the Generator product. Using the DPLX files is a Report Writer product's feature. However, when you are generating the PDF document using the Generator product you will be able to access the page elements you are creating and you can change the positions or data using the page element's object without any problem. What exact problem are you having and please be more specific about the requirement you have so that we can help you further.
Thanks,
ceTe Software Support Team.
Re: Is it possible to use .DPLX files with Document Generator for >NET
Forum member · Jul 31, 2009Hi,
Thanks for your earlier reply. We have a large number of elements that are going to be added to some reports which are quite long. Instead of hardcoding the position and size of Page elements throughout the code we wanted to be able to load these values from an XML file and then access them directly using the Document class.
We were trying to use the .DPLX file as it can contain a Template which contains a Header, Footer and Details Section. It would be very good if we could load the details of Header, Footer and Details Sections from a XML File into a Document or Page object
Re: Is it possible to use .DPLX files with Document Generator for >NET
Support · Jul 31, 2009Hello,
In order to use the DPLX files you will have to use the Report Writer product. You will have to create a template of the report using the report elements and then you will have to give a data source for the report. This will generate a report using the data provided. This product is useful when getting the data from a database.
If you are using the XML file as data source then you will have to read the data from XML file and you will have to provide the data as a DataTable or a list of objects.
After adding the data and created the PDF it is not possible to access the elements from the PDF document when using the Report Writer.
You can do the same using the Generator also but you will have to add all the elements programmatically. With Generator you will have more control over all the elements and pages. After creating the PDF you can also loop through the page elements and do modifications without any problem.
Thanks,
ceTe Software Support Team.