Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / Problems with "AutoAdjustContentWidth"
Author Message
Anonymous
# Posted: 8 Aug 2007 07:25


Hi,

I have problems with the AutoAdjustContentWidth-Property! At my workstation (Windows XP) it works fine! When I start the process on a Windows Server 2003 operating system it doesen't work!

Here is the code:

pdf.StartEngine("", "");
pdf.AutoLaunch = false;
pdf.Compression = TxCompressionType.ctFlate;
pdf.DocumentInfo_Author = "";
pdf.DocumentInfo_Creator = "";
pdf.DocumentInfo_CreationDate = DateTime.Now;
pdf.FileName = strFileName;
pdf.PDFPAGE_Size = TxPDFPageSize.psA4;
pdf.PDFPAGE_Orientation = TxPDFPageOrientation.poPagePortrait;
pdf.BeginDoc();

pdf_html.StartHTMLEngine("", "");
pdf_html.ConnectToPDFLibrary(pdf);

pdf_html.AutoAdjustContentWidth = true;
pdf_html.LoadHTMLString(strHtml, "");

pdf_html.ConvertAll();

pdf_html.DisconnectFromPDFLibrary();
pdf.EndDoc();

Anonymous
# Posted: 8 Aug 2007 07:53


I've downloaded following versions:

http://www.colorpilot.com/load/pdflib.msi
http://www.colorpilot.com/load/htmladd.msi

Now it works on both systems!

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top