Class ActiveXControl
Represents an ActiveX Control.
Inheritance
Inherited Members
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ActiveXControl : AbstractControl, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject
Fields
worksheet
Exposes the worksheet associated with ActiveXControl.
Declaration
protected readonly Worksheet worksheet
Field Value
| Type | Description |
|---|---|
| Worksheet | The worksheet returned by the operation. |
Properties
Accelerator
A Unicode character that specifies the accelerator key for the control.
Declaration
public int Accelerator { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
2.5.1 Accelerator
BackColor
Specifies the background color of the control.
Declaration
public long BackColor { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
BackStyle
Exposes the back style associated with ActiveXControl.
Declaration
public BackStyle BackStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| BackStyle | The back style returned by the operation. |
Caption
Specifies the descriptive text that appears on a control to identify or describe it.
Declaration
public string Caption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
2.5.10 Caption
ClassId
Exposes the class id associated with ActiveXControl.
Declaration
public string ClassId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Enabled
Exposes the enabled associated with ActiveXControl.
Declaration
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The enabled returned by the operation. |
FontCharSet
Exposes the font char set associated with ActiveXControl.
Declaration
public int FontCharSet { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The font char set returned by the operation. |
FontEffects
Exposes the font effects associated with ActiveXControl.
Declaration
public FontEffects FontEffects { get; set; }
Property Value
| Type | Description |
|---|---|
| FontEffects | The font effects returned by the operation. |
FontHeightInTwips
Exposes the font height in twips associated with ActiveXControl.
Declaration
public int FontHeightInTwips { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The font height in twips returned by the operation. |
FontName
Exposes the font name associated with ActiveXControl.
Declaration
public string FontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The font name returned by the operation. |
FontPitchAndFamily
Exposes the font pitch and family associated with ActiveXControl.
Declaration
public int FontPitchAndFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The font pitch and family returned by the operation. |
FontWeight
Exposes the font weight associated with ActiveXControl.
Declaration
public int FontWeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The font weight returned by the operation. |
ForeColor
Exposes the fore color associated with ActiveXControl.
Declaration
public long ForeColor { get; set; }
Property Value
| Type | Description |
|---|---|
| long | The fore color returned by the operation. |
HideSelection
Specifies whether selected text remains highlighted when a control does not have the focus.
Declaration
public bool HideSelection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
True - Selected text is not highlighted unless the control has the focus (default). False - Selected text always appears highlighted.
IMEMode
Specifies the default run time mode of theInput Method Editor (IME) for a control.
Declaration
public IMEMode IMEMode { get; set; }
Property Value
| Type | Description |
|---|---|
| IMEMode |
Remarks
This property applies only to applications written for East Asia and is ignored in other applications.
Locked
Exposes the locked associated with ActiveXControl.
Declaration
public bool Locked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The locked returned by the operation. |
MousePointer
Exposes the mouse pointer associated with ActiveXControl.
Declaration
public MousePointer MousePointer { get; set; }
Property Value
| Type | Description |
|---|---|
| MousePointer | The mouse pointer returned by the operation. |
ParagraphAlign
Exposes the paragraph align associated with ActiveXControl.
Declaration
public ParaformatAlignment ParagraphAlign { get; set; }
Property Value
| Type | Description |
|---|---|
| ParaformatAlignment | The paragraph align returned by the operation. |
PrintObject
Exposes the print object associated with ActiveXControl.
Declaration
public bool PrintObject { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The print object returned by the operation. |
Shadow
Exposes the shadow associated with ActiveXControl.
Declaration
public bool Shadow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The shadow returned by the operation. |
SpecialEffect
Exposes the special effect associated with ActiveXControl.
Declaration
public SpecialEffect SpecialEffect { get; set; }
Property Value
| Type | Description |
|---|---|
| SpecialEffect | The special effect returned by the operation. |
Value
Exposes the value associated with ActiveXControl.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The value returned by the operation. |
WordWrap
Indicates whether the contents of a control automatically wrap at the end of a line.
Declaration
public bool WordWrap { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |