Interface: IImageIoService
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:55
Properties
Property | Type | Defined in |
---|---|---|
change$ | Observable <number > | submodules/univer/packages/core/src/services/image-io/image-io.service.ts:56 |
Methods
addImageSourceCache()
addImageSourceCache(
source,
imageSourceType,
imageSource): void
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:64
Parameters
Parameter | Type |
---|---|
source | string |
imageSourceType | ImageSourceType |
imageSource | Nullable <HTMLImageElement > |
Returns
void
getImage()
getImage(imageId): Promise<string>
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:59
Parameters
Parameter | Type |
---|---|
imageId | string |
Returns
Promise
<string
>
getImageSourceCache()
getImageSourceCache(source, imageSourceType): Nullable<HTMLImageElement>
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:63
Parameters
Parameter | Type |
---|---|
source | string |
imageSourceType | ImageSourceType |
Returns
Nullable
<HTMLImageElement
>
saveImage()
saveImage(imageFile): Promise<Nullable<IImageIoServiceParam>>
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:61
Parameters
Parameter | Type |
---|---|
imageFile | File |
Returns
Promise
<Nullable
<IImageIoServiceParam
>>
setWaitCount()
setWaitCount(count): void
Defined in: submodules/univer/packages/core/src/services/image-io/image-io.service.ts:57
Parameters
Parameter | Type |
---|---|
count | number |
Returns
void