Custom dashed line type

Hi all.

How to make custom dashed line type using DL_LinetypeData? How to use fields double patternLength, double* pattern of DL_LinetypeData?
I need to generate line type similair to this one:

.

Thanks,
Dejan