Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  ENVI Classic Display  >  ENVI_CENTER

ENVI_CENTER

ENVI_CENTER

Use this procedure to return the centering offsets for a widget.

Syntax


ENVI_CENTER, Xoff, Yoff [, /XBIG] [, /YBIG]

Arguments


Xoff

This is a named variable that contains the x (horizontal) offset for use in the call to the IDL routine WIDGET_BASE.

Yoff

This is a named variable that contains the y (vertical) offset for use in the call to the IDL routine WIDGET_BASE.

Keywords


XBIG

Set this keyword if the widget will be large in the horizontal direction.

YBIG

Set this keyword if the widget will be large in the vertical direction.

Example


The following code gets the centering information from ENVI_CENTER and uses it in the call to WIDGET_BASE.

envi_center, xoff, yoff
base = widget_base(title='Center test', $
   xoff=xoff, yoff=yoff, /column)

API Version


3.2



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us