DesignObject Object

ClosedDescription

Represents an object on a template in the BarTender document.

ClosedRequirements

Version

BarTender 9.3 or higher

Edition

Automation, Enterprise

ClosedMethods

Name

Description

ExportToClipboard

Copies a bitmap representation of the selected object to the Clipboard.

ExportToFile

Creates an image of the selected object and saves it to an image file.

ClosedProperties

Name

Description

BarCodeColor

Sets or returns a barcode object's bar color.

Comment

Sets or returns the object's comment.

CornerRadius

Sets or returns a box object's corner radius.

DoNotPrint

Sets or returns whether to print the object.

EncodedValue

Returns the encoded value for an RFID object.

FillColor

Sets or returns a box or ellipsis' fill color.

FontBold

Sets or returns whether the object's text is bolded.

FontItalic

Sets or returns whether the object's text is italicized.

FontName

Sets or returns the object's text font name.

FontScale

Sets or returns the object's text font scale.

FontScript

Sets or returns an object's text script or character set of the font.

FontSize

Sets or returns the font point size of an object's text.

FontStrikeout

Sets or returns whether the object's text has a line through it.

FontUnderline

Sets or returns whether the object's text is underlined.

FontWeight

Sets or returns the font weight of the object's text.

Height

Sets or returns the height of an object.

HumanReadableValue

Returns the human readable value for a barcode object.

Length

Sets or returns the length of a line object.

LineColor

Sets or returns the color of a line object.

LineEndX

Sets or returns the x-coordinate of a line object's endpoint.

LineEndY

Sets or returns the y-coordinate of a line object's endpoint.

LineStartX

Sets or returns the x-coordinate of a line object's starting point.

LineStartY

Sets or returns the y-coordinate of a line object's starting point.

LineThickness

Sets or returns the line thickness of a line, box, or ellipse object.

MirrorHorizontal

Sets or returns whether a picture object is mirrored horizontally.

MirrorVertical

Sets or returns whether a picture object is mirrored vertically.

Name

Returns the name of the object.

PercentHeight

Sets or returns a picture object's percentage of original height.

PercentWidth

Sets or returns a picture object's percentage of original width.

PicturePath

Sets or returns the picture object's path.

PreserveAspectRatio

Sets or returns whether a picture object's aspect ratio is preserved.

RotationAngle

Sets or returns the rotation angle of an object.

TextBackgroundColor

Sets or returns the background color of an object's text.

TextColor

Sets or returns the color of an object's text.

Type

Returns the type of an object.

Value

Returns the value of an object.

Width

Sets or returns the width of an object.

X

Sets or returns the x-coordinate of an object.

Y

Sets or returns the y-coordinate of an object.