can Design first only add to PDF?

can Design first only add to PDF?

Forum member · Aug 10, 2011
i currently trying out ceTesoftware to create pdf for my project. somehow i have lots of difficulty for my design and convert it to pdf using this software. i using ceTe.DynamicPDF.Page.Element.Add(text/image) for every single thing i need to put into PDF. and it require X,Y which very troublesome me. where i need to adjust one by one, and also adding new page. is there any example/solution that can provide me, let say i design everything first in a temporary data, then only add 1 short to PDF?

Re: can Design first only add to PDF?

Support · Aug 10, 2011
Hello, The DynamicPDF Generator for .NET product allows you to create PDF document from scratch. You will need to add page elements and set X and Y positions while adding them to page and you will have to add a new page to add more contents on the new page. It is not possible to design everything in a temporary data and add once to the PDF document using our DynamicPDF Generator for .NET product. We have another product called DynamicPDF ReportWriter for .NET using which you can generate PDF reports using the data from the database. We have a DynamicPDF Designer using which you can design your report template and use this template(DPLX)file dynamically to generate report using ReportWriter API.The DynamicPDF Designer is a layout tool that allows you to define ReportWriter reports using its WYSIWYG controls. Elements can be dragged and dropped, resized and moved on a layout template. Please refer the documentation on using list of objects as record sets at: http://www.DynamicPDF.com/Support/NET_Help_Library_11_01/Using_a_List_of_Objects_as_a_RecordSet.html .Also refer the ReportWriter examples downloaded with the product download. Thanks, ceTe software Support Team.

Re: can Design first only add to PDF?

Forum member · Aug 12, 2011
Hi, thanks for the reply. i'd tried the reportwriter, but seem still cannot solve my problem. i need to do something very flexible and dynamic. E.G.: i have 1 book full with image and text need to convert to PDF. I have to align different size of image, and different long of the text into paragraph. for what i see from the sample, most is already fixed the x,y,height, width. if possible i do it as "auto"? like auto set the x and y according to the size of image. auto set width and height according of the long of the text. i need something very flexible to do with the x,y,height,width. this is the only problem i have. other, your product is really useful.

Re: can Design first only add to PDF?

Support · Aug 12, 2011
Hello, The RecordBox and RecordArea expands depending on the dynamic contents and you will have to set Expandable property as True in the property window. Image is not exapandable and you will need to place it at desired position in the DPLX file by setting its width and height. If you are using DynamicPDF Generator for .NET product features then you will need to set X and Y positions for all the page elements like Image, TextArea, Label while adding them to page of the document. Also you can add a new page if the current page is not having sufficient space to add the remaining contents like image and text. You will need to keep track of Y and X positions dynamically. It is not possible to set auto for the positions and the dimension variable and make them add to the PDF document. If the above suggestions do not meet your requirements then please send over the DPLX file and the sample text and images to our support team at: [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] Also send over the desired output format so that they can look into it further. Thanks, ceTe Software Support Team.