Click or drag to resize

CompositeDisplayConditionSetNegate Method (Int32, Boolean)

Sets if a logical not operation is applied to a display condition in the composite when the composite is evaluated.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void SetNegate(
	int index,
	bool negate
)

Parameters

index
Type: SystemInt32
The zero-based index of the display condition to set the logical not operation for.
negate
Type: SystemBoolean
True if the display condition with the given index should be negated.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Index is out of range. It must be between 0 and Count - 1.
Remarks
Display conditions can be in more than one composite at a time. Each composite may or may not negate the display condition. So a display condition that is negated in one composite is not necessarily negated in another.
See Also