ImageEn, unit iexLayers

TIELayer.GetProperties

TIELayer.GetProperties


Declaration

procedure GetProperties(Props: TStrings);


Description

Returns all properties of the layer as a list of Name=Value pairs.
Names will be drawn from the TIELayer Property Constants. Changes made to the list can be applied using SetProperties.


Sample Output

IELP_BorderColor=clNone
IELP_BorderWidth=0
IELP_FillColor=clYellow
IELP_FillColor2=clRed
IELP_FillGradient=1
IELP_Rotate=0

Note: '/**/' refers to a hard return (#13#10) in text properties


Example

// Save properties of the current layer to a file
ss := TStringList.create();
ImageEnView1.CurrentLayer.GetProperties( ss );
ss.SaveToFile( 'D:\CurrentLayer.txt' );
ss.Free();


See Also

SetProperties
LayerDefaults