# Function mapDXFLineTypeToEsri

- mapDXFLineTypeToEsri(lineTypeName, lineTypeObj):
  | "solid"
  | "dash"
  | "dot"
  | "dash-dot"
  | "long-dash"
  | "long-dash-dot"
  | "short-dash"
  | "short-dash-dot"

- Maps a DXF line type name to an equivalent Esri simple line style.

  This function attempts to map a DXF line type to a named Esri line style such as "dash" or "dot". The mapping is based on a combination of the line type's name and its pattern definition. It checks for common names (e.g., "HIDDEN", "CENTER"), ISO patterns, and analyzes the dash-gap pattern for a best-fit match.

  #### Parameters

  - lineTypeName: string

    The name of the DXF line type (e.g., "DASHED", "ISO dash space").

  - lineTypeObj: ILineType

    The full DXF line type object, which may contain a `pattern` array of numbers defining dashes and gaps.

  #### Returns
  | "solid"
  | "dash"
  | "dot"
  | "dash-dot"
  | "long-dash"
  | "long-dash-dot"
  | "short-dash"
  | "short-dash-dot"

  An Esri simple line style string. If no specific match is found, it defaults to "solid".