The pattern type of the fill effect.
The following example applies a pattern to the background. Note that we used the
SynchronizeMappingWithType to apply a texture mapper appropriate for the pattern
filling type.
Dim chart As Chart = CType((m_ChartControl.Charts(0)), Chart)
Dim fillEffect As FillEffectBase = m_ChartControl.Background.FillEffect
fillEffect.Type = FillEffectType.Pattern
fillEffect.HatchStyle = HatchStyle.DarkDownwardDiagonal
fillEffect.BeginColor = Color.AliceBlue
fillEffect.BeginColor = Color.BlanchedAlmond
fillEffect.SynchronizeMappingWithType()
Chart chart = (Chart)(m_ChartControl.Charts[0]);
FillEffectBase fillEffect = m_ChartControl.Background.FillEffect;
fillEffect.Type = FillEffectType.Pattern;
fillEffect.HatchStyle = HatchStyle.DarkDownwardDiagonal;
fillEffect.BeginColor = Color.AliceBlue;
fillEffect.BeginColor = Color.BlanchedAlmond;
fillEffect.SynchronizeMappingWithType();
Target Platforms: 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