Forms2OleControl

Forms2OleControl

Overview

Forms2OleControl is a class in Aspose.Words FOSS for .NET. Inherits from: OleControl.

Represents Microsoft Forms 2.0 OLE control.

Properties: BackColor, Caption, ChildNodes, Enabled, ForeColor, GroupName, and 6 more.

Properties

NameTypeAccessDescription
CaptionstringRead/WriteGets or sets a Caption property of the control.
ValuestringReadGets underlying Value property which often represents control state.
EnabledboolReadReturns true if control is in enabled state.
ChildNodesForms2OleControlCollectionReadGets collection of immediate child controls.
TypeForms2OleControlTypeReadGets type of Forms 2.0 control.
GroupNamestringRead/WriteGets or sets a string that specifies a group of mutually exclusive controls.
ForeColorColorRead/WriteGets or sets a foreground color of the control.
BackColorColorRead/WriteGets or sets a background color of the control.
WidthdoubleRead/WriteGets or sets a width of the control in points.
HeightdoubleRead/WriteGets or sets a height of the control in points.
NamestringRead/WriteGets or sets name of the ActiveX control.
IsForms2OleControlboolReadReturns true if the control is a Forms2OleControl.

See Also