SharpLeaf Reference > SharpLeaf Methods > SetArgument Method SharpLeaf.SetArgument Method
Set a specific argument in the ArgumentList.
public void SetArgument(
int tgt,
string arg
);
-
tgt
- index of the argument, starting at {1}.
-
arg
- string to substitute.
Example
// replace "{1}" with "(draft #7)" in TextBlock captions
lf.SetArgument(1,"(draft #7)");
See also ...TextBlock : PageElement Class | SharpLeaf Members | SharpLeaf.ArgumentList Property | TextBlock.Caption Property
Send comments on this topic © Dyalog Ltd 2021
|