Version

MidpointThreshold Property

Returns a ColorScaleCriterion object which defines the properties of the midpoint threshold for this instance.
Syntax
'Declaration
 
Public ReadOnly Property MidpointThreshold As ColorScaleCriterion
public ColorScaleCriterion MidpointThreshold {get;}
Remarks

The midpoint threshold is only supported for a ColorScaleConditionalFormat instance with a value of 'ThreeColor' specified for the colorScaleType parameter.

Attempting to set a property on the instance returned from this property will cause an exception to be thrown if this instance was created as a 2-color scale.

The following value types are not valid for the midpoint threshold, and will cause an exception to be thrown:

  • LowestValue
  • HighestValue
  • AutomaticMinimum
  • AutomaticMaximum

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub