OptionButtonShapeImpl Class
This class represents option button form control.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Shapes
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class OptionButtonShapeImpl : TextBoxShapeBase, IDisposable, ICloneParent, INamedObject, IOptionButtonShape, ITextBoxShape, ITextBox, IShape, IParentApplication
Constructors
OptionButtonShapeImpl(IApplication, Object)
Initialize new instance of the text box shape.
Declaration
public OptionButtonShapeImpl(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. |
Properties
CheckState
Indicates whether check box is checked.
Declaration
public ExcelCheckState CheckState { get; set; }
Property Value
Type |
---|
ExcelCheckState |
Display3DShading
Gets or sets value indicating whether 3D shadow is present.
Declaration
public bool Display3DShading { get; set; }
Property Value
Type |
---|
System.Boolean |
HAlignment
Horizontal alignment of the text.
Declaration
public ExcelCommentHAlign HAlignment { get; set; }
Property Value
Type |
---|
ExcelCommentHAlign |
Hyperlink
Get object that represents the hyperlink for the shape.
Declaration
public IHyperLink Hyperlink { get; }
Property Value
Type |
---|
IHyperLink |
InvokeEvent
Invoke Event
Declaration
public bool InvokeEvent { get; set; }
Property Value
Type |
---|
System.Boolean |
IsFirstButton
indicates whether the option button is first button in the group
Declaration
public bool IsFirstButton { get; set; }
Property Value
Type |
---|
System.Boolean |
LinkedCell
Gets or sets formula link value.
Declaration
public IRange LinkedCell { get; set; }
Property Value
Type |
---|
IRange |
RichText
Rich Text
Declaration
public RichTextString RichText { set; }
Property Value
Type |
---|
RichTextString |
TextRotation
Text rotation.
Declaration
public ExcelTextRotation TextRotation { get; set; }
Property Value
Type |
---|
ExcelTextRotation |
VAlignment
Vertical alignment of the text.
Declaration
public ExcelCommentVAlign VAlignment { get; set; }
Property Value
Type |
---|
ExcelCommentVAlign |
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 addToCollections)
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 | addToCollections | Indicates whether we should add created shape into all necessary parent collections. |
Returns
Type | Description |
---|---|
IShape | A copy of the current shape. |
Overrides
CreateDefaultOptions()
Creates default options.
Declaration
[CLSCompliant(false)]
protected override MsofbtOPT CreateDefaultOptions()
Returns
Type | Description |
---|---|
Syncfusion.XlsIO.Parser.Biff_Records.MsoDrawing.MsofbtOPT | MsofbtOPT record |
Overrides
OnPrepareForSerialization()
This method is called inside of PrepareForSerialization to make shape-dependent preparations.
Declaration
protected override void OnPrepareForSerialization()