ExcelPicture Properties |
The ExcelPicture type exposes the following members.
Name | Description | |
---|---|---|
BottomRowIndex |
Gets or sets the one based bottom row index of the picture area in the worksheet. The bottom row is not included in the picture area.
| |
ImageObj |
Gets the System.Drawing.Image object.
| |
LeftColumnIndex |
Gets or sets the one based left column index of the picture in the worksheet. The left column is included in the picture area.
| |
PictureHeightPoints |
Gets or sets the height in points (1 point is 1/72 inch) of the picture area.
The bottom row index is adjusted based on the specified height.
| |
PictureHeightPx |
Gets or sets the height in pixels (1 pixels is 1/96 inch) of the picture area. The bottom row index is adjusted based on the specified height.
The height is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
| |
PictureLeftPositionPoints |
Gets or sets the position in points (1 point is 1/72 inch) of the left edge of the picture area inside the worksheet.
The left and right column indexes are adjusted based on the specified left position to keep the width.
| |
PictureLeftPositionPx |
Gets or sets the position in pixels (1 pixels is 1/96 inch) of the left edge of the picture area inside the worksheet.
The left and right column indexes are adjusted based on the specified left position to keep the width. The left position
is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
| |
PictureName |
Gets or sets the picture name in workbook. If no name was explicitly set then a default name will be generated for the picture
when the workbook is saved.
| |
PicturePlacement |
Represents how the picture is attached to the cells below it. The default value is ExcelPicturePlacement.MoveDontSizeWithCells and the image will move with the cells, but it will not size with them.
| |
PictureTopPositionPoints |
Gets or sets the position in points (1 point is 1/72 inch) of the top edge of the picture area inside the worksheet.
The top and bottom column indexes are adjusted based on the specified top position to keep the height.
| |
PictureTopPositionPx |
Gets or sets the position in pixels (1 pixels is 1/96 inch) of the top edge of the picture area inside the worksheet.
The top and bottom column indexes are adjusted based on the specified top position to keep the height. The top position
is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
| |
PictureWidthPoints |
Gets or sets the picture area width in points (1 point is 1/72 inch).
The right column index is adjusted based on the specified width.
| |
PictureWidthPx |
Gets or sets the width in pixels (1 pixels is 1/96 inch) of the picture area. The right column index is adjusted based on the specified width.
The width is measured in pixels. The dimensions can be converted from pixels to inches using the UnitsConverter class.
| |
RightColumnIndex |
Gets or sets the one based right column index of the picture area in the worksheet. The right column is not included in the picture area.
| |
TopRowIndex |
Gets or sets the one based top row index of the picture area in the worksheet. The top row is included in the picture area.
| |
Worksheet |
Gets the worksheet of this picture.
|