BackgroundColor Tag

ClosedDescription

Sets the background color of a print preview image. The default color is white (16777215).

ClosedSyntax

<BackgroundColor>Value</BackgroundColor>

Where Value equals any number from 0 to 16777215. Number 255 equals solid red. Number 65280 equals solid green. Number 16711680 equals solid blue.

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)