pltILegend SetRasterPosition
Sets the position of the legend.
Syntax
pltILegend_handle SetRasterPosition x, y
Application
HyperWorks Tcl Modify
Description
This command sets the position of the legend (in pixels). This command differs from the SetPosition command in that it uses pixels rather than relative positioning.
Inputs
- x
- The horizontal position of the legend (in pixels).
- y
- The vertical position of the legend (in pixels).
Example
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetLegendHandle leg;
leg SetRasterPosition 250 35;
Errors
Success (0) or an error message is returned.
Keywords
HyperWorks
Tcl
Legend
Modify