ImageEn, unit iexProcEffects

TIEImageEffect.AsString

TIEImageEffect.AsString


Declaration

property AsString: String;


Description

Return a string describing the current state.
Only details of the specified operation are returned, e.g. for "HSV, Enabled, H=50, S=0, V=-20" it would return: '2/1/50/0/-20', because 2 is ord(peHSV)
This property can be used to save an effect state to the registry of an ini file.

Note: When setting AsString, peUserFilt values will not be updated


Example

// Write the Effect state to an ini file
ini.WriteString( 'Settings', 'CustomEffectState', Effect.AsString );

// Read the Effect state from an ini file
CustomEffect.AsString := ini.ReadString( 'Settings', 'Effect', '' );


See Also

 AsHash
 Description