Daylight v4.9
Release Date: 1 February 2008

Name

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 'dt_f_depict.inc'

integer*4 dt_f_orient(depiction)

integer*4 depiction

Description

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:

DX_ORIENT_NONE

Performs no orientation of the depiction.
DX_ORIENT_AUTO
Performs automatic portrait/landscape orientation of the depiction. (Operates like pre-4.4 versions).
DX_ORIENT_WILD
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)