Interface IShapes
public interface IShapes : IExcelApplication, IEnumerable
- Inherited Members
Properties
Count
int Count { get; }
Property Value
this[int]
IShape this[int index] { get; }
Parameters
index
int
Property Value
this[string]
IShape this[string strShapeName] { get; }
Parameters
strShapeName
string
Property Value
Methods
Add()
IChartShape Add()
Returns
AddCheckBox()
ICheckBox AddCheckBox()
Returns
AddComboBox()
IComboBoxShape AddComboBox()
Returns
AddComment()
ICommentShape AddComment()
Returns
AddComment(string)
ICommentShape AddComment(string commentText)
Parameters
commentText
string
Returns
AddComment(string, bool)
ICommentShape AddComment(string commentText, bool bIsParseOptions)
Parameters
Returns
AddCopy(IShape)
IShape AddCopy(IShape sourceShape)
Parameters
sourceShape
IShape
Returns
AddCopy(IShape, Dictionary<string, string>, List<int>)
IShape AddCopy(IShape sourceShape, Dictionary<string, string> hashNewNames, List<int> arrFontIndexes)
Parameters
Returns
AddLine(Point, Point, LineShapeType)
Adds new text line to the collection.
ILineShape AddLine(Point startPoint, Point endPoint, LineShapeType lineShapeType)
Parameters
startPoint
PointstartPoint
endPoint
PointendPoint
lineShapeType
LineShapeTypelineShapeType
Returns
- ILineShape
Newly created line.
AddOval(int, int, int, int)
Add new oval shape in the collection.
IOvalShape AddOval(int row, int column, int height, int width)
Parameters
Returns
AddPicture(Stream, string, ImageFormatType)
IPictureShape AddPicture(Stream image, string pictureName, ImageFormatType imageFormat)
Parameters
image
StreampictureName
stringimageFormat
ImageFormatType
Returns
AddPicture(string)
IPictureShape AddPicture(string fileName)
Parameters
fileName
string
Returns
AddPrstGeomShape(PrstGeomShapeType)
IPrstGeomShape AddPrstGeomShape(PrstGeomShapeType shapeType)
Parameters
shapeType
PrstGeomShapeType
Returns
AddRadioButton()
IRadioButton AddRadioButton()
Returns
AddTextBox()
ITextBoxLinkShape AddTextBox()