TShapeOptionList.AsBool Method
Overloads
- TShapeOptionList.AsBool(TShapeOption, Boolean)
- TShapeOptionList.AsBool(TShapeOption, Boolean, Int32)
TShapeOptionList.AsBool(TShapeOption, Boolean)
Returns a bool property if it exists, otherwise the default value. This method overload automatically calculates the position in the boolean set so you don't need to specify it.
Syntax
Namespace: FlexCel.Core
public Boolean AsBool(TShapeOption key, Boolean Default)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
key | TShapeOption | Property Name. | |
Default | Boolean | What to return if the property does not exist. |
See also
TShapeOptionList.AsBool(TShapeOption, Boolean, Int32)
Returns a bool property if it exists, otherwise the default value.
Syntax
Namespace: FlexCel.Core
public Boolean AsBool(TShapeOption key, Boolean Default, Int32 PositionInSet)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
key | TShapeOption | Property Name. | |
Default | Boolean | What to return if the property does not exist. | |
PositionInSet | Int32 | Boolean properties are grouped so all properties on one set are in only one value. So, the last bool property on the set is the first bit, and so on. ONLY THE LAST PROPERTY ON THE SET IS PRESENT. |