PageSetup Object

ClosedDescription

Accesses the page setup properties of the Format object.

ClosedRequirements

Version

BarTender 7.00 or higher

Edition

Automation, Enterprise Automation

ClosedMethods

Name

Description

SetStock

Sets the values of the PageSetup.StockCategory and PageSetup.StockType properties.

ClosedProperties

Name

Description

Inverse

Sets and returns whether the text color and background color are reversed.

LabelColumns

Sets and returns the number of columns on each page.

LabelCorners

Sets and returns whether the corners of the template are rounded or sharp.

LabelGapHorizontal

Sets and returns the size of the gap between columns of items on a page.*

LabelGapManual

Sets and returns whether to give the PageSetup.LabelGapHorizontal and PageSetup.LabelGapVertical properties precedence over other page setup properties, in the event of conflicts, or whether to let the gap sizes be overridden by the other properties.

LabelGapVertical

Sets and returns the size of the gap between rows of items on a page.*

LabelHeight

Sets and returns the height of each item.*

LabelHole

Sets and returns whether or not there is a hole in the template.

LabelHoleDiameter

Sets and returns the diameter of the hole in the template.

LabelRows

Sets and returns the number of rows on each page.

LabelShape

Sets and returns whether template is rectangular or elliptical.

LabelSizeManual

Sets and returns whether to give the PageSetup.LabelHeight and PageSetup.LabelWidth properties precedence over other page setup properties, in the event of conflicts, or whether to let the dimensions of the template be overridden by the other properties.

LabelWidth

Sets and returns the width of each item.*

MarginBottom

Sets and returns the bottom margin of the page.*

MarginLeft

Sets and returns the left-side margin of the page.

MarginRight

Sets and returns the right-side margin of the page.*

MarginTop

Sets and returns the top margin of the page.

MediaHandling

Returns a reference to the MediaHandling object.

Mirror

Sets and returns whether the content of a template is printed in mirror inversion.

Orientation

Sets and returns the page's orientation (portrait or landscape).

PaperHeight

Sets and returns the paper height.

PaperID

Sets and returns the printer driver's internal ID for the paper size, such as "A4" or "letter".

PaperName

Sets and returns the paper size, such as "A4" or "letter".

PaperWidth

Sets and returns the paper width.

StockCategory

Returns the name of the stock category, usually a manufacturer of printer stock. (This property is set with the PageSetup.SetStock method)

StockType

Returns the name of the stock type, usually the printer stock manufacturer's "model" name of the printer stock. (This property is set with the PageSetup.SetStock method)

Tray

Sets and returns the paper tray to be used in printing.

Valid

Returns whether the page setup properties are valid.

The values of properties with an asterisk "*" above may be changed by BarTender in certain situations. See Automatic Adjustments to Page Setup Values for details.