IncludeMargins Tag

ClosedDescription

Sets whether or not to include the page margins in the image.

ClosedSyntax

<Overwrite>Value</Overwrite>

Where Value can be true or false. If set to true, the image will include the page margins. If set to false, the image will be trimmed to the edge of the labels.

ClosedParent Tag

<ExportPrintPreviewToImage>

ClosedRemarks

Optional 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 higher)