comet.CPublicationType

class comet.CPublicationType

Methods

CPublicationType.getValue(selector)

Get a value from this object.

Parameters:

selector (int) –

Which value to get.

One of Publication selectors

Returns:

The selected value

Return type:

str | int | bool, depending on the selector

Available:

InDesign® comet_pdf®

CScript:

publicationtype::gets

Special methods

CPublicationType.__repr__()

String representation.

Returns:

<CPublicationType> Name: Name (Row 1)

ID1: ID1 | ID2: ID2 | ID3: ID3 | StringID: ‘StringID

State: State

Template ID: Template ID

Example
<CPublicationType> Label: Catalog
ID: 268443518

Return type:

str