ImageLinkEventArgs Class
Arguments passed on FlexCelAspViewer.ImageLink,
Syntax
Namespace: FlexCel.AspNet
public class ImageLinkEventArgs: EventArgs
Constructors
Name | Description |
---|---|
ImageLinkEventArgs | Creates a new Argument. |
Properties
Name | Description |
---|---|
Workbook | ExcelFile with the image, positioned in the sheet that we are rendering. Make sure if you modify ActiveSheet of this instance to restore it back to the original value before exiting the event. |
ObjectIndex | Object index of the object being rendered. You can use xls.GetObject(objectIndex) to get the object properties. If the image is not an object (for example it is a rotated text) this property will be -1. |
ShapeProps | Shape properties of the object being rendered. You can use them to get the name of the object, its size, etc. If the image is not an object (for example it is a rotated text) this property will be null. |
AlternateText | Alternate text for the image, to show in the "ALT" tag when a browser can not display images. By default this is set to the text in the box "Alternative Text" in the web tab on the image properties. If no Alternative text is supplied in the file, the image name will be used here. |
SavedImageFormat | File format in which the image is. |
ImageLink | The link that will be inserted in the html file. Modify it to create your won link to the HttpHandler. |