setImage method
setImage(fileName)
Changes the fill type to single image.
setImage(fileName: string)
Parameter | Type | Description |
---|---|---|
fileName | string | The path to the image file. |
setImage(stream)
Changes the fill type to single image.
setImage(stream: Buffer)
Parameter | Type | Description |
---|---|---|
stream | Buffer | The stream that contains the image bytes. |
setImage(imageBytes) {#number[]}
Changes the fill type to single image.
setImage(imageBytes: number[])
Parameter | Type | Description |
---|---|---|
imageBytes | number[] | The image bytes array. |
See Also
- module Aspose.Words.Drawing
- class Fill