The following methods provide access to the values in the Viewport Background dialog.
Returns the viewport background image frame displayed at the specified time. Returns a value of -1 if no frame is to be used for specified time.
Get and set whether Animate Background is on ( true ), or off ( false) .
Get and set the background image Aspect Ratio option. Valid <name> values are:
Get and set the background image Start Processing and End Procession options.
<start_end_integer> = 0 - Start Processing; 1 - End Processing
Get the background image Use Frame range as a Point2 value. The first component of the Point2 value is the Start Frame, the second component is the End Frame.
Set the background image Use Frame range and step value. First component of <point3> is Start Frame, second component is End Frame, and third component is Step Frame.
Get and set the background image Start At frame.
Get and set the background image Synch Start To Frame frame.
Lets you get and set a String value that defines the viewport background image bitmap file name. It contains the corresponding bitmap file name set in the Viewport Background dialog.
Sets the specified bitmap as the viewport background image. The <bitmap> must be associated with a bitmap file, which it true if:
1 - the bitmap is read from a file via openBitmap() or selectBitMap( );
2 - the bitmap was saved via save <bitmap> ;
3 - the MAXBitMap constructor is passed a BitmapInfo whose Name length isn't 0 (for example if you retrieve a bitmap from a BitmapTexture); or