ImageSavingArgs
Overview
ImageSavingArgs is a class in Aspose.Words FOSS for .NET.
Provides data for the ImageSaving event.
Properties: CurrentShape, Document, ImageFileName, ImageStream, IsImageAvailable, KeepImageStreamOpen.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Document | Document | Read | Gets the document object that is currently being saved. |
CurrentShape | ShapeBase | Read | Gets the ShapeBase object corresponding to the shape or group shape that is about to be saved. |
IsImageAvailable | bool | Read | Returns true if the current image is available for export. |
ImageFileName | string | Read/Write | Gets or sets the file name (without path) where the image will be saved to. |
KeepImageStreamOpen | bool | Read/Write | Specifies whether Aspose.Words should keep the stream open or close it after saving an image. |
ImageStream | Stream | Read/Write | Gets or sets the image stream. |