Version

WorksheetShape Class Members

The following tables list the members exposed by WorksheetShape.

Public Properties
 NameDescription
Public PropertyBottomRightCornerCellGets or sets the cell where the bottom-right corner of the shape resides.  
Public PropertyBottomRightCornerPositionGets or sets the position in the BottomRightCornerCell of the shape's bottom-right corner, expressed in percentages.  
Public PropertyFillGets or sets the fill to use in the background of the shape.  
Public PropertyFlippedHorizontallyGets or sets the value which indicates whether the shape is flipped horizontally along the vertical center line.  
Public PropertyFlippedVerticallyGets or sets the value which indicates whether the shape is flipped vertically along the horizontal center line.  
Public PropertyOutlineGets or sets the outline to use for the shape.  
Public PropertyPositioningModeGets or sets the way shapes will be repositioned in excel when cells before or within the shape are resized.  
Public PropertySheetGets the worksheet on which the shape resides.  
Public PropertyTopLeftCornerCellGets or sets the cell where the top-left corner of the shape resides.  
Public PropertyTopLeftCornerPositionGets or sets the position in the TopLeftCornerCell of the shape's top-left corner, expressed in percentages.  
Public PropertyVisibleGets or sets the value indicating whether the shape is visible on the worksheet.  
Public PropertyWorksheetGets the worksheet on which the shape resides.  
Public Methods
 NameDescription
Public MethodClearUnknownDataClears the cached unknown shape data which was read in from a parsed excel file.  
Public Methodstatic (Shared in Visual Basic)CreatePredefinedShapeCreates a shape which is predefined in Microsoft Excel.  
Public MethodGetBoundsInTwipsOverloaded. Gets the bounds of the shape in twips (1/20th of a point).  
Public MethodSetBoundsInTwipsOverloaded. Sets the bounds of the shape in twips (1/20th of a point).  
See Also

View on GitHub