Version

Fix Method

Fixes the contents of this collection so that it can be used to generate a ColorBlend.
Syntax
'Declaration
 
Public Overridable Sub Fix() 
public virtual void Fix()
Remarks

This method ensures that if there are 2 or more ColorStops in this collection, the first one will have a stop value of 0, and the last will have a stop value of 1. It then sorts the collection so that the ColorStops found between are ordered correctly.

Requirements

Target Platforms: Windows 10, 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