![]() You will need to calculate the width and height for the page element which you are adding to the page so that it can fit in the display area of the page. You can set individual page margins for each page while generating the PDF using DynamicPDF Generator for. ![]() ![]() It is not possible to set margins for each page using the DynamicPDF Converter for. Setting margins using the ConversionOptions class of the DynamicPDF Converter API will set margins for all pages in the converted PDF document. Please refer to this link for more info on Converter. NET library and it needs to be installed on the machine that is performing the conversions. Net library, it’s a combination of windows service, print driver and. HtmlConversionOptions options = new HtmlConversionOptions(false) Ĭonverter.ConvertHtmlString(sampleHtml,"C:\\temp\\SampleHTML_cSharp.pdf",options) Ĭonverter for. Here is an example on how to use Converter. You can also set the margins using the HtmlConversionOptions class. NET which takes in an HTML string and converts it to PDF. If you need full support for HTML to PDF conversion we have a different product called DynamicPDF Converter for. The DynamicPDF Merger tool you are currently using has only limited HTML to PDF conversion capability supported via FormattedTextArea class and only these HTML tags are supported. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |