ExcelPicture Class

Represents a picture in a worksheet.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelPicture
Inheritance
Object    ExcelPicture

Properties

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

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also