SetCurrentPen
- Last UpdatedDec 08, 2015
- 1 minute read
The SetCurrentPen method sets the specified pen as the currently selected pen. If the pen is available multiple times, then the first occurrence is selected.
Example
dim b as boolean;
b = Trend1.SetCurrentPen("MyPen01");
Syntax
[Result=] Trend1.SetCurrentPen(string PenName);
Parameters
PenName
The name of the pen being set.
Return Value
Returns TRUE if the pen was set successfully; otherwise, returns FALSE.