Format オブジェクト

Closed説明

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.

Closed関数

Name

説明

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.

Closedプロパティ

Name

説明

BaseName

Returns the base name of the current document without the BTW extension.読み取り専用です。

DbSupportsFieldNames

Returns whether the currently opened database supports field names.読み取り専用です。

Directory

Returns the directory of the current document.読み取り専用です。

FileName

Returns the name of the current document, including the directory path.読み取り専用です。

IdenticalCopiesOfLabel

Returns the number of identical copies to be printed.読み取り専用です。

IsNewRecord

Returns whether the print job has opened a new record.読み取り専用です。

IsPrinting

Returns whether a print job is in progress.読み取り専用です。

IsPrintPreview

Returns whether BarTender is preparing a print preview of the open document.読み取り専用です。

IsPrompting

Returns whether the data entry form is displayed.読み取り専用です。

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.読み取り専用です。

プリンタ

Returns the name of the printer.読み取り専用です。

StartingPosition

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

Title

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.読み取り専用です。

関連トピック