TableStyle.Condition Method
Returns a ConditionalStyle object that represents special style formatting for a portion of a table.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Condition ( _
ConditionCode As WdConditionCode _
) As ConditionalStyle
'Usage
Dim instance As TableStyle
Dim ConditionCode As WdConditionCode
Dim returnValue As ConditionalStyle
returnValue = instance.Condition(ConditionCode)
ConditionalStyle Condition(
WdConditionCode ConditionCode
)
Parameters
- ConditionCode
Type: Microsoft.Office.Interop.Word.WdConditionCode
Required WdConditionCode. The area of the table to which to apply the formatting.
Return Value
Type: Microsoft.Office.Interop.Word.ConditionalStyle