Technical Reference > Graphics Builder Automation Interface > Dynamic Properties Functions > PropertiesTrendPut

PropertiesTrendPut

Sets the values for a trend object that appear on the Appearance | General tab of the Object Properties dialog.

Note: As this function does not support True Color functionality, it has been superseded by the functions PropertiesTrendPutEx.

Syntax

PropertiesTrendGet(NumberOfSamples, PixelPerSample, Expression1, Colour1, Expression2, Colour2, Expression3, Colour3, Expression4, Colour4, Expression5, Colour5, Expression6, Colour6, Expression7, Colour7, Expression8, Colour8)

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.

Colour1:

A value between 0 and 255 representing the color of trend Pen1

Expression2:

String argument for the field Pen2.

Colour2:

A value between 0 and 255 representing the color of trend Pen2.

Expression3:

String argument for the field Pen3.

Colour3:

A value between 0 and 255 representing the color of trend Pen3.

Expression4:

String argument for the field Pen4.

Colour4:

A value between 0 and 255 representing the color of trend Pen4.

Expression5:

String argument for the field Pen5.

Colour5:

A value between 0 and 255 representing the color of trend Pen5.

Expression6:

String argument for the field Pen6.

Colour6:

A value between 0 and 255 representing the color of trend Pen6.

Expression7:

String argument for the field Pen7.

Colour7:

A value between 0 and 255 representing the color of trend Pen7.

Expression8:

String argument for the field Pen8.

Colour8:

A value between 0 and 255 representing the 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

PropertiesTrendGet