Class HeaderFooterShapeCollection
Summary description for HeaderFooterShapesCollection.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class HeaderFooterShapeCollection : ShapeCollectionBase, IList<IShape>, ICollection<IShape>, IEnumerable<IShape>, IEnumerable, IParentApplication, ICloneParent
Constructors
HeaderFooterShapeCollection(IApplication, object)
Declaration
public HeaderFooterShapeCollection(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| object | parent |
HeaderFooterShapeCollection(IApplication, object, MsofbtSpgrContainer, ExcelParseOptions)
Declaration
[CLSCompliant(false)]
public HeaderFooterShapeCollection(IApplication application, object parent, MsofbtSpgrContainer container, ExcelParseOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| object | parent | |
| MsofbtSpgrContainer | container | |
| ExcelParseOptions | options | Parse options. |
Properties
RecordCode
Code of the Biff record in which all data is stored. Read-only.
Declaration
public override TBIFFRecord RecordCode { get; }
Property Value
| Type |
|---|
| TBIFFRecord |
Overrides
ShapeData
Returns shared shape data for all shapes in this collection. Read-only.
Declaration
public override WorkbookShapeDataImpl ShapeData { get; }
Property Value
| Type |
|---|
| WorkbookShapeDataImpl |
Overrides
Methods
AddShape(MsofbtSpContainer, ExcelParseOptions)
Adds new shape to the collection.
Declaration
[CLSCompliant(false)]
protected override ShapeImpl AddShape(MsofbtSpContainer shapeContainer, ExcelParseOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| MsofbtSpContainer | shapeContainer | Shape container to add. |
| ExcelParseOptions | options | Parse options. |
Returns
| Type | Description |
|---|---|
| ShapeImpl | Newly added shape. |
Overrides
CreateData(Stream, MsofbtDgContainer, List<int>, List<List<BiffRecordRaw>>)
Converts array of records with break indexes into bytes sequence.
Declaration
[CLSCompliant(false)]
protected override void CreateData(Stream stream, MsofbtDgContainer dgContainer, List<int> arrBreaks, List<List<BiffRecordRaw>> arrRecords)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to put record data into. |
| MsofbtDgContainer | dgContainer | Container. |
| List<int> | arrBreaks | List with break indexes. |
| List<List<BiffRecordRaw>> | arrRecords | List with records to serialize. |
Overrides
CreateShape(TObjType, MsofbtSpContainer, ExcelParseOptions, List<ObjSubRecord>, int)
Creates new shape object.
Declaration
[CLSCompliant(false)]
protected override ShapeImpl CreateShape(TObjType objType, MsofbtSpContainer shapeContainer, ExcelParseOptions options, List<ObjSubRecord> subRecords, int cmoIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| TObjType | objType | Object type to create. |
| MsofbtSpContainer | shapeContainer | Shape container. |
| ExcelParseOptions | options | Parse options. |
| List<ObjSubRecord> | subRecords | Subrecords of the shape's OBJRecord. |
| int | cmoIndex | Index to the cmo record inside subrecords. |
Returns
| Type |
|---|
| ShapeImpl |
Overrides
Parse(HeaderFooterImageRecord, ExcelParseOptions)
Parses record with image data.
Declaration
[CLSCompliant(false)]
public void Parse(HeaderFooterImageRecord record, ExcelParseOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| HeaderFooterImageRecord | record | Record to parse. |
| ExcelParseOptions | options | Parse options. |
RegisterInWorksheet()
Registers in the parent worksheet.
Declaration
protected override void RegisterInWorksheet()
Overrides
SetPicture(string, Image)
Sets picture.
Declaration
public ShapeImpl SetPicture(string strShapeName, Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strShapeName | Shape name. |
| Image | image | Image to set. |
Returns
| Type |
|---|
| ShapeImpl |
SetPicture(string, Image, int)
Sets picture.
Declaration
public ShapeImpl SetPicture(string strShapeName, Image image, int iIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strShapeName | Shape name. |
| Image | image | Image to set. |
| int | iIndex | Represents new shape blip id index. If set -1 - auto indicate. |
Returns
| Type |
|---|
| ShapeImpl |
SetPicture(string, Image, int, bool, string)
Sets picture.
Declaration
public ShapeImpl SetPicture(string strShapeName, Image image, int iIndex, bool bIncludeOptions, string preservedStyles)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strShapeName | Shape name. |
| Image | image | Image to set. |
| int | iIndex | Represents new shape blip id index. If set -1 - auto indicate. |
| bool | bIncludeOptions | Indicates is current picture include options. |
| string | preservedStyles |
Returns
| Type |
|---|
| ShapeImpl |