Daylight v4.9
Release Date: 1 February 2008


dt_orient - retrieve the orientation property of a depiction

Generic Prototype

dt_orient(dt_Handle) => dt_Integer

C Prototype

#include "dt_depict.h"

dt_Integer dt_orient(dt_Handle depiction)

FORTRAN Prototype

include ''

integer*4 dt_f_orient(depiction)

integer*4 depiction


Gets the value of the orient attribute of the depiction.

Return Value

Returns the orient property of the depiction. Values will be DX_ORIENT_NONE, DX_ORIENT_AUTO, or DX_ORIENT_WILD. The meanings are as follows:


Performs no orientation of the depiction.
Performs automatic portrait/landscape orientation of the depiction. (Operates like pre-4.4 versions).
Uses the special atoms [*-1] and [*-2] to orient the depiction from left to right. See dt_setorient(3) for details.

Related Topics

dt_alloc_depiction(3) dt_setorient(3)