NCL Home > Documentation > HLUs > API

NhlChangeWorkstation

The Fortran name of this function is NhlFChangeWorkstation.

This function is used to change the Workstation parent of any graphical HLU object. It is provided as an access function to objects that are Base class.


C synopsis

#include <ncarg/hlu/hlu.h>

NhlErrorTypes NhlChangeWorkstation(
		int		plot_id,
		int		work_id
		)

Fortran synopsis

      subroutine NhlFChangeWorkstation(plot_id, work_id, ierr)
      integer plot_id, work_id, ierr

Arguments

plot_id (input)
Id that identifies the graphical object to move to another Workstation class parent.
work_id (input)
Id that identifies the workstation object to move the graphical object to.
ierr (output, Fortran only)
Error code.

Types

Type name:		NhlTErrorTypes
Definition:
typedef enum _NhlErrType{
	NhlFATAL	= -4,	/* "FATAL"	*/
	NhlWARNING	= -3,	/* "WARNING"	*/
	NhlINFO		= -2,	/* "INFO"	*/
	NhlNOERROR	= -1	/* "NOERROR"	*/
} NhlErrorTypes;