Winnovative Excel Library

ExcelPicture Class

Winnovative Excel Library Documentation
Represents a picture in a worksheet.
Inheritance Hierarchy

SystemObject
  Winnovative.ExcelLibExcelPicture

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public class ExcelPicture

The ExcelPicture type exposes the following members.

Properties

  NameDescription
Public propertyBottomRowIndex
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.
Public propertyImageObj
Gets the System.Drawing.Image object.
Public propertyLeftColumnIndex
Gets or sets the one based left column index of the picture in the worksheet. The left column is included in the picture area.
Public propertyPictureHeightPoints
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.
Public propertyPictureHeightPx
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.
Public propertyPictureLeftPositionPoints
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.
Public propertyPictureLeftPositionPx
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.
Public propertyPictureName
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.
Public propertyPictureTopPositionPoints
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.
Public propertyPictureTopPositionPx
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.
Public propertyPictureWidthPoints
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.
Public propertyPictureWidthPx
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.
Public propertyRightColumnIndex
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.
Public propertyTopRowIndex
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.
Public propertyWorksheet
Gets the worksheet of this picture.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference