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


All forums · Statistics · Search ·

Two Pilots forum / For software developers / 'PDF.PDFPAGE_UnicodeTextOut'
Author Message
Sheraz
# Posted: 6 Oct 2004 12:27


Hi
I am evaluating demo version of PDF Creator for future use on our asp webserver. I need to output special symbols. For that reason i am using PDF.PDFPAGE_UnicodeTextOut. But I receive the following error message.
Variable uses an Automation type not supported in VBScript: Please advise asap.

In addition to the above i need to print gif and tiff images into the resulting pdf. Can you please help me in this regard.

Thanks,
Sheraz

Natalia
Member
# Posted: 8 Oct 2004 11:52


Hi Sheraz,

Can you please provide us with sample code snippet you use?

GIF and TIFF images are not supported by PDF Creator Pilot currently. Only BMP, JPG and EMF are supported. You can use 3rd party libraries to convert GIF and TIFF files into BMP or JPG and then use in PDF.

Sheraz
# Posted: 11 Oct 2004 14:23


Hi,

Thank you very much for provideing the consultation. Following is the code I am useing to output text

PDF.PDFPAGE_BeginText
PDF.PDFPAGE_SetRGBColorFill textcolorArray(0), textcolorArray(1),textcolorArray(2)
PDF.PDFPAGE_SetRGBColorStroke textcolorArray(0), textcolorArray(1), textcolorArray(2)
PDF.PDFPAGE_SetActiveFont fontface, bold, italic, underline, false, fontsize, 1
PDF.PDFPAGE_UnicodeTextOut startx, starty, rotateangle, textstring
PDF.PDFPAGE_EndText


'textstring' holds the unicode text string read from a file.

Eugene
Member
# Posted: 13 Oct 2004 08:09


Dear Sheraz,

Can you please inform about the type of "textstring" variable?

Sheraz
# Posted: 9 Nov 2004 06:46


Thanks you for considering the problem.

I am using the simple string data type in ASP. this string is being read from an xml file. Can someone please guide me how to convert this string to unicode data type or any way that i can pass it ot UnicodeTextOut avoiding the following error.

Variable uses an Automation type not supported in VBScript:

Thanks.
Sheraz

Eugene
Member
# Posted: 10 Nov 2004 11:33


This is a bug with UnicodeTextOut and VB and we are working on it currently...

 

 

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

 

Page top