Export document result.

interface ExportDocumentResult {
    content: string;
    selectedIds?: string[];
    selectedPositions?: number[];
    type: DocumentType | ImageType;
}

Hierarchy (View Summary)

Properties

content: string

File content.

selectedIds?: string[]

Returned for CXON export.

selectedPositions?: number[]

Returned for MDL and MRV exports. Array of 1-based numbers.

File type: jpg, png, svg, webp, mrv, cxon, mol:V2, mol:V3, smiles, smarts, inchi, inchikey, cdx, skc, sdf, rdf, rxn