ImageFormatType Tag

ClosedDescription

Sets the image format type. Refer to Supported Image Formats in the BarTender online help for more information.

ClosedSyntax

<ImageFormatType>Value</ImageFormatType>

Where Value is the image format type.

ClosedParent Tag

<ExportPrintPreviewToImage>

ClosedRemarks

Required tag that is used with the <ExportPrintPreviewToImage> command.

ClosedExample

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<ExportPrintPreviewToImage ReturnImageInResponse="true">

<Format>c:\format1.btw</Format>

<Folder>c:\Images</Folder>

<FileNameTemplate>Preview_Label%PageNumber%.jpg</FileNameTemplate>

<ImageFormatType>JPG</ImageFormatType>

<Colors>btColors24Bit</Colors>

<DPI>300</DPI>

<Overwrite>true</Overwrite>

<IncludeMargins>true</IncludeMargins>

<IncludeBorder>true</IncludeBorder>

<BackgroundColor>16777215</BackgroundColor>

</ExportPrintPreviewToImage>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 2.0 (BarTender 9.0 and later versions)