Class FormControlShapeImpl
Class used for Form control shapes.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Shapes
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class FormControlShapeImpl : ShapeImpl, IDisposable, ICloneParent, INamedObject, IShape, IParentApplication
Constructors
FormControlShapeImpl(IApplication, Object)
Initializes new instance of the shape.
Declaration
public FormControlShapeImpl(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new shape. |
System.Object | parent | Parent object for the new shape. |
FormControlShapeImpl(IApplication, Object, MsoBase)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsoBase shapeRecord)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new shape. |
System.Object | parent | Parent object for the new shape. |
MsoBase | shapeRecord | Record that describes the new shape. |
FormControlShapeImpl(IApplication, Object, MsoBase[], Int32)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsoBase[] records, int index)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new shape. |
System.Object | parent | Parent object for the new shape. |
MsoBase[] | records | Array of records that contains the record for new shape. |
System.Int32 | index | Index of the records for new shape. |
FormControlShapeImpl(IApplication, Object, MsofbtSpContainer)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsofbtSpContainer container)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new shape. |
System.Object | parent | Parent object for the new shape. |
MsofbtSpContainer | container | Shape container record that describes the new shape. |
Properties
HyperLink
Get object that represents the hyperlink for the shape.
Declaration
public IHyperLink HyperLink { get; }
Property Value
Type |
---|
IHyperLink |
IsArrowSelectedColor
Indicates whether list box arrow has default or selected color.
Declaration
public bool IsArrowSelectedColor { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Clone(Object, Dictionary<String, String>, Dictionary<Int32, Int32>, Boolean)
Creates a clone of the current shape.
Declaration
public override IShape Clone(object parent, Dictionary<string, string> hashNewNames, Dictionary<int, int> dicFontIndexes, bool addToCollection)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | New parent for the shape object. |
System.Collections.Generic.Dictionary<System.String, System.String> | hashNewNames | Dictionary with new worksheet names. |
System.Collections.Generic.Dictionary<System.Int32, System.Int32> | dicFontIndexes | Dictionary with new font indexes. |
System.Boolean | addToCollection | Indicates whether we should add created shape into all necessary parent collections. |
Returns
Type | Description |
---|---|
IShape | A copy of the current shape. |
Overrides
OnPrepareForSerialization()
This method is called inside of PrepareForSerialization to make shape-dependent preparations.
Declaration
protected override void OnPrepareForSerialization()
Overrides
ParseClientData(MsofbtClientData, ExcelParseOptions)
Parses client data.
Declaration
[CLSCompliant(false)]
protected override void ParseClientData(MsofbtClientData clientData, ExcelParseOptions options)
Parameters
Type | Name | Description |
---|---|---|
MsofbtClientData | clientData | Data to parse. |
ExcelParseOptions | options | Parse options. |
Overrides
SerializeOptions(MsoBase)
Serialize shape options.
Declaration
[CLSCompliant(false)]
protected override MsofbtOPT SerializeOptions(MsoBase parent)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent object. |
Returns
Type | Description |
---|---|
MsofbtOPT | Record with serialized option. |
Overrides
SerializeShape(MsofbtSpgrContainer)
Serializes shape.
Declaration
[CLSCompliant(false)]
protected override void SerializeShape(MsofbtSpgrContainer spgrContainer)
Parameters
Type | Name | Description |
---|---|---|
MsofbtSpgrContainer | spgrContainer | Container to add shape. |