PictureOptions Type
Public type for PictureOptions.
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.
Syntax
type PictureOptions = Partial<Omit<PictureDrawing, 'kind' | 'position' | 'crop' | 'dataUrl'>> & ({
dataUrl: string;
base64?: never;
} | {
base64: string;
dataUrl?: never;
}) & {
mimeType?: 'image/png' | 'image/jpeg';
placement?: 'cell' | 'over-cells';
cell?: string;
position?: Partial<DrawingPosition>;
crop?: Partial<PictureDrawing['crop']>;
};
Examples
Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.
const value = { dataUrl: 'Invoice' };
console.log(value);