Click or drag to resize

IPictureShape Interface

Defines a contract for a picture shape, which includes methods and properties related to the manipulation and representation of picture shapes.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IPictureShape : IShape, 
	IExcelApplication

The IPictureShape type exposes the following members.

Properties
Name Description
Public property AlternativeText
Returns or sets the descriptive (alternative) text string for a Shape object.
(Inherited from IShape .)
Public property ColorFrom
Gets or sets the starting color for a gradient or transition.
Public property ColorTo
Converts a given color to another color based on specified criteria or transformations.
Public property FileName
Get the file name
Public property Fill
Gets the fill style of the shape.
Public property Glow
Gets the glow effect applied to the object.
(Inherited from IShape .)
Public property Height
The height of the object. Read/write Integer
(Inherited from IShape .)
Public property HtmlString
Gets and sets the html string which contains data and some formattings in this shape.
(Inherited from IShape .)
Public property ID
Returns the type for the specified object. Read-only Integer.
(Inherited from IShape .)
Public property IsLockAspectRatio
True means that don't allow changes in aspect ratio.
(Inherited from IShape .)
Public property IsLocked
True if the object is locked, False if the object can be modified when the sheet is protected.
(Inherited from IShape .)
Public property IsPrintable
True if the object is printable
(Inherited from IShape .)
Public property IsSmartArt
Gets a value indicating whether the object is a SmartArt graphic.
(Inherited from IShape .)
Public property Left
The distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). Read/write Integer.
(Inherited from IShape .)
Public property Line
Gets the line format of the shape.
Public property LinkedCell
Gets or sets the range linked to the shape's value.
(Inherited from IShape .)
Public property Name
Returns or sets the name of the object. Read/write String.
(Inherited from IShape .)
Public property OnAction
Gets or sets the action to be performed.
(Inherited from IShape .)
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property Picture
Get the Picture
Public property Reflection
Gets the reflection effect applied to the shape.
(Inherited from IShape .)
Public property ResizeBehave
Specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(ComboBoxShape and CheckBoxShape and RadioButtonShape set MoveAndResize type value is invalid)
(Inherited from IShape .)
Public property Rotation
Returns or sets the rotation of the shape, in degrees.
(Inherited from IShape .)
Public property Shadow
Gets the shadow settings for the object.
(Inherited from IShape .)
Public property ShapeType
The shape type of the object.
(Inherited from IShape .)
Public property TextFrame
Gets the text frame associated with the object.
(Inherited from IShape .)
Public property ThreeD
Gets the 3D formatting options for the object.
(Inherited from IShape .)
Public property Top
The distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. Read/write Integer.
(Inherited from IShape .)
Public property Visible
Determines whether the object is visible.
(Inherited from IShape .)
Public property Width
The width of the object. Read/write Integer.
(Inherited from IShape .)
Top
Methods
Name Description
Public method Remove
Removes this shape from shapes collection.
(Inherited from IShape .)
Public method Remove(Boolean)
Removes shape from the collection.
Public method Scale
Scales the shape.
(Inherited from IShape .)
Top
See Also