TIEPolylineLayers do not support all shape layer features.
if TIEPolylineLayer(ImageEnView1.CurrentLayer).SupportsFeature( ielfGradient ) then
ShowMessage('Polyline layer Supports Gradient');
Polyline layers do not support gradient fill so you can not set FillColor2.
You can test this by running the Layers_AllTypes demo.
If you add a shape layer you can create a gradient fill with a FillColor2 color value, but you can not select a gradient fill with a polyline layer and you can not set the gradient fill color.
The current version of ImageEn does not support gradient fill polyline layers.
Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development