TX Sheet Control

CellPicture Type

Interface

An embedded image bound to a cell; it participates in cell layout rather than floating-object selection.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Members

Properties

PropertyDescription
altTextThe altText value of CellPicture.
dataUrlThe dataUrl value of CellPicture.
idThe id value of CellPicture.
nameThe name value of CellPicture.

Examples

Pass the CellPicture value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectCellPictureId(
    cellPicture: NonNullable<
        Awaited<ReturnType<Awaited<ReturnType<ServerSheetControl['workbook']['sheets']['get']>>['cell']>>['picture']
    >,
) {
    const value = cellPicture['id'];
    console.log('CellPicture.id', value);
}

See Also

Additional and Inherited Members

MemberOwnership
barcodePortable live barcode settings. Source references are resolved after recalculation and mail merge; use the owning cell or drawing barcode operations to persist edits.