comet.CScrap

class comet.CScrap

CScrap is a container class for clipboard data which is generated by CTextModel.copy() & CTextModel.cut() and can be used by CTextModel.paste().

Methods

CScrap.isValid()

Determine whether this scrap is still valid.

Returns:

Whether this scrap is still valid.

Return type:

bool

Available:

InDesign®

Special methods

CScrap.__repr__()

String representation.

Returns:

<CScrap>

Return type:

str