Represents a picture in a worksheet.
Inheritance Hierarchy
Winnovative.ExcelLibExcelPicture
Namespace: Winnovative.ExcelLib
Assembly: wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The ExcelPicture type exposes the following members.
Properties
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 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 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.
| |
PictureTopPositionPoints |
Gets or sets the position in points (1 point is 1/72 inch) of the 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 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.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also