# Synopsis

PDX_MSGT dxcr_Leader(long option, MDA_PTR orig_ptr, char *dimstyle, double height, double width, int arrowhead, int pathtype, int annotation, int hookdir, int hookline, int numvtx, MTH_3DPNT *vertex, int color, MTH_3DPNT horzdir, MTH_3DPNT offdir, MTH_3DPNT txtoffset, MDA_PTR text, int dxf_model, MDA_PTR *dxf_ptr)

# Purpose

Create a DXF Leader.

# Description

A DXF Leader 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

## dimstyle

Dimension style name

## height

Text annotation height

## width

Text annotation width

## arrowhead

Arrowhead flag

## pathtype

Leader path type

## annotation

Annotation flag

## hookdir

Hookline flag

## hookline

Hookline present

## numvtx

Number of path vertices

## vertex

Vertex coordinates

## color

Color to use if leader's DIMCLRD=BYBLOCK

## horzdir

Horizontal direction for leader

## offdir

Annotation offset direction

## txtoffset

Offset from annot. pt

## text

PTR to text entity

## dxf_model

DXF model number

# Output

## dxf_ptr

Entity pointer of the DXF Leader

# Return

          DXCR_NOERR
          Low level error return
          .fi