Sets the values for a trend object that appear on the Appearance | General tab of the Object Properties dialog.
Syntax
PropertiesTrendPutEx(NumberOfSamples, PixelPerSample, Expression1, OnColour1, OffColour1, Expression2, OnColour2, OffColour2 , Expression3, OnColour3, OffColour3 , Expression4, OnColour4, OffColour4 , Expression5, OnColour5, OffColour5, Expression6, OnColour6, OffColour6 , Expression7, OnColour7, OffColour7, Expression8, OnColour8, OffColour8, )
NumberOfSamples:
A value between 0 and 32767 representing the number of samples in a trend display.
PixelPerSample:
A value between 1 and 32, representing the width of each sample in pixels.
Expression1:
String argument for the field Pen1.
OnColour1:
An RGB value representing the "on" color of trend Pen1.
OffColour1:
An RGB value representing the "off" color of trend Pen1.
Expression2:
String argument for the field Pen2.
OnColour2:
An RGB value representing the "on" color of trend Pen2.
OffColour2:
An RGB value representing the "off" color of trend Pen2.
Expression3:
String argument for the field Pen3.
OnColour3:
An RGB value representing the "on" color of trend Pen3.
OffColour3:
An RGB value representing the "off" color of trend Pen3.
Expression4:
String argument for the field Pen4.
OnColour4:
An RGB value representing the "on" color of trend Pen4.
OffColour4:
An RGB value representing the "off" color of trend Pen4.
Expression5:
String argument for the field Pen5.
OnColour5:
An RGB value representing the "on" color of trend Pen5.
OffColour5:
An RGB value representing the "off" color of trend Pen5.
Expression6:
String argument for the field Pen6.
OnColour6:
An RGB value representing the "on" color of trend Pen6.
OffColour6:
An RGB value representing the "off" color of trend Pen6.
Expression7:
String argument for the field Pen7.
OnColour7:
An RGB value representing the "on" color of trend Pen7.
OffColour7:
An RGB value representing the "off" color of trend Pen7.
Expression8:
String argument for the field Pen8.
OnColour8:
An RGB value representing the "on" color of trend Pen8.
OffColour8:
An RGB value representing the "off" color of trend Pen8.
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Related Functions