DPI Tag

ClosedDescription

Sets the image resolution measured in dots per inch.

ClosedSyntax

<DPI>Value</DPI>

Where Value can be any resolution from 2 to 3000 dots per inch (DPI) or any of the following constants:

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)