[]
Represents various options about the image.
public struct ImageInfo
Used by AddImage(byte[], ImageInfo, Color, Color, int, short, int, short, int, short, int, short, string).
Name | Description |
---|---|
AutoFill | Gets or sets whether the Automatic Fill option is turned on (Format Object dialog box, Patterns tab). |
AutoSize | Gets or sets whether or not this image should be moved and resized along with the cells. |
CropFromBottom | Gets or sets a percentage indicates how much of the total height of the image is taken up by the bottom portion of the crop. |
CropFromLeft | Gets or sets a percentage indicates how much of the total width of the image is taken up by the left portion of the crop. |
CropFromRight | Gets or sets a percentage indicates how much of the total width of the image is taken up by the right portion of the crop. |
CropFromTop | Gets or sets a percentage indicates how much of the total height of the image is taken up by the top portion of the crop. |
DisplayHeight | Gets or sets the display height of the image object in Excel. The unit is pixel. |
DisplayWidth | Gets or sets the display width of the image object in Excel. The unit is pixel. |
FillPattern | Gets or sets whether the background of the image is filled or not. |
Left | Gets or sets the distance from the cell left to the image's left. The unit is pixel. |
LineStyle | Gets or sets the style of the line bounding an image. |
LineWeight | Gets or sets the weight of the line bounding an image. |
LineWidth | Gets or sets the line width of the image outline. The unit is pixel. |
MoveWithCells | Gets or sets whether this image should be moved along with the cells (Format Object dialog box, Properties tab). |
QuadrantIndex | Gets or sets the direction in which the image begins and ends. |
Top | Gets or sets the distance from the cell top to the image's top. The unit is pixel. |