Stats group

These variables access statistics derived from the actual file contents for a number of supported file formats. The values are empty for a job in an unsupported file format and for a job folder.

File format

Please refer to FileStatistics class for a list of supported file formats.

Variable name

Data type

Scripting API equivalent

Stats.FileFormat

Text

FileStatistics.getFileFormat()

Content statistics

The Stats group includes an additional variable for each additional statistic supported by the FileStatistics class (see Supported statistics). The variable has the same name and data type as the statistic (where string maps to Text and string list maps to Text Indexed).

Variable name

Data type

Supported for

Stats.NumberOfPages

Integer

All supported formats

Stats.SamplesPerPixel

Integer

JPEG, TIFF, PNG

Stats.PixelXDimension

Integer

JPEG, TIFF, PNG

Stats.PixelYDimension

Integer

JPEG, TIFF, PNG

Stats.ColorMode

Integer

JPEG, TIFF, PNG

Stats.ColorSpace

Integer

JPEG, TIFF, PNG

Stats.ICCProfile

Text

JPEG, TIFF, PNG

Stats.Colorants

Text Indexed

TIFF

Stats.CellWidth

Integer

TIFF

Stats.CellLength

Integer

TIFF

Stats.TileWidth

Integer

TIFF

Stats.TileLength

Integer

TIFF

Stats.ColorIntent

Integer

PNG

Stats.Version

Text

PDF

Stats.PageWidth

Rational

PDF

Stats.PageHeight

Rational

PDF

Stats.PageLabels

Text Indexed

PDF

Stats.Colorants

Text Indexed

PDF

Stats.Fonts

Text Indexed

PDF

Stats.SecurityMethod

Text

PDF

Stats.PageBoxesEqual

Boolean

PDF

Stats.MediaBoxWidth

Integer

PDF

Stats.MediaBoxHeight

Integer

PDF

Stats.CropBoxWidth

Integer

PDF

Stats.CropBoxHeight

Integer

PDF

Stats.BleedBoxWidth

Integer

PDF

Stats.BleedBoxHeight

Integer

PDF

Stats.TrimBoxWidth

Integer

PDF

Stats.TrimBoxHeight

Integer

PDF

Stats.ArtBoxWidth

Integer

PDF

Stats.ArtBoxHeight

Integer

PDF

Stats.PDFXVersionKey

Text

PDF

Stats.ColorSpaceFamilies

Text Indexed

PDF

Stats.TransparentColor

Boolean

PDF

Stats.FontTypes

Text Indexed

PDF