<Imageformattype>Pdf Not Working
For the <ImageFormatType> tag in the <ExportPrintPreviewToImage> command the help says that .pdf is a supported export type but if I set it as follows:
<ImageFormatType>PDF</ImageFormatType>
I get a parsing error as follows:
An error occurred during BTXML Script processing:
'PDF' violates pattern constraint of '[Jj][Pp][Gg]|[Tt][Ii][Ff]|[Gg][Ii][Ff]|[Pp][Nn][Gg]|[Pp][Ss][Dd]|[Cc][Ll][Pp]|[Cc][Uu][Tt]|[Ee][Cc][Ww]|[Ee][Mm][Ff]|[Ee][Pp...'.
The element 'ImageFormatType' with value 'PDF' failed to parse.
Line 68, Column 27: ' <ImageFormatType>PDF</ImageFormatType> '
while parsing:"C:\Documents and Settings\Administrator\My Documents\BarTender\BarTender Documents\SimonD\FSA BTXMLTest2.xml"
-
PDF is supported for importing and use as a picture object, but we don't support the export into PDF.
The best option is to print the document to file using a PDF driver.
0 -
Thanks for this. In this case the Help pages are a bit misleading - on the ImageFormatType help page there is a link to Supported Image Formats which specifically lists .pdf as a supported export type?
0 -
Yes it is a bit misleading, I'll make a note for our technical authors to make this clearer.
0
Please sign in to leave a comment.
Comments
3 comments