Objeto de formato

CerradoDescripción

The Format object represents a document saved in BarTender. Format objects hold the data and properties for a document that may or may not be open in BarTender.

CerradoFunciones

Nombre

Descripción

CancelPrinting

Cancels the currently running print job.

FlushLog

Forces the Print Log buffer to output its contents to the file.

WriteToLog

Writes a raw string to the log file.

CerradoPropiedades

Nombre

Descripción

BaseName

Returns the base name of the current document without the BTW extension. Solo lectura.

DbSupportsFieldNames

Returns whether the currently opened database supports field names. Solo lectura.

Directorio

Returns the directory of the current document. Solo lectura.

FileName

Returns the name of the current document, including the directory path. Solo lectura.

IdenticalCopiesOfLabel

Returns the number of identical copies to be printed. Solo lectura.

IsNewRecord

Returns whether the print job has opened a new record. Solo lectura.

IsPrinting

Returns whether a print job is in progress. Solo lectura.

IsPrintPreview

Returns whether BarTender is preparing a print preview of the open document. Solo lectura.

IsPrompting

Returns whether the data entry form is displayed. Solo lectura.

MeasurementUnits

Sets or returns the units of measurement in the document. See BtUnits for available values.

Note: This property is available only when you are editing script at a document level.

NumberSerializedLabels

Returns the items in a serialized sequence to be printed. Solo lectura.

Impresora

Returns the name of the printer. Solo lectura.

StartingPosition

Sets or returns the starting position on a page of printer stock with multiple columns and/or rows.

Título

Returns the document portion of the title bar for the current document. Not necessarily the same as the document file name, since a document name will not exist if the document has not yet been saved. Solo lectura.

Temas relacionados