# Synopsis

PDX_MSGT dxcr_RText(long option, MDA_PTR orig_ptr, double *xyzloc, double rotang, double height, int typeflag, char *contents, MDA_PTR textstyleobjhandle, int model, MDA_PTR *dxf_text_ptr)

# Purpose

Create a DXF RText.

# Description

A DXF RText entity is created for the given data.

The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

# Input

## option

Options (not used)

## orig_ptr

The original entities orig_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## xyzloc

Insertion point

## rotang

Rotation angle

## height

Text height

## typeflag

Type flag

## contents

Text, expression or filename

## textstyleobjhandle

Ptr to text style

## model

DXF model

# Output

## dxf_text_ptr

Entity pointer of the DXT RText

# Return

          DXCR_NOERR
          Low level error return
          .fi