poIVectorCtrl SetFont
Sets the font by name.
Syntax
poIVectorCtrl_handle SetFont font_name
Application
HyperView Tcl Modify
Description
This command sets the font used to render the vector plot text.
Inputs
- font_name
- The name of the font.
Example
To set the font name to
"Arial":
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetVectorCtrlHandle vector_handle
vector_handle SetFont "Arial"
hwi CloseStack
Errors
Returns 0 if successful, otherwise an error code.