private static extern int AddCounter(ushort num, Int32 left, Int32 top, Int32 width, Int32 height, Int32 transparent, Int32 border, Int32 countertype, Int32 format,
     string fontname, Int32 fontsize, Int32 fontcolor, Int32 fontstyle, ref TTimeStamp basetime);
 private static extern int AddChapterEx(ushort num, UInt32 time, ushort wait, ushort kind, ushort week, ref TTimeStamp fromtime, ref TTimeStamp totime);
 private static extern int AddCampaignEx(ushort num, Int32 left, Int32 top, Int32 width, Int32 height, Int32 transparent, Int32 border,
     string fontname, Int32 fontsize, Int32 fontcolor, Int32 fontstyle,
     string format, ref TTimeStamp basetime, ref TTimeStamp fromtime, ref TTimeStamp totime, Int32 step);
 public int Do_AddCounter(ushort num, Int32 left, Int32 top, Int32 width, Int32 height, Int32 transparent, Int32 border, Int32 countertype, Int32 format,
     string fontname, Int32 fontsize, Int32 fontcolor, Int32 fontstyle, ref TTimeStamp basetime)
 {
     return AddCounter(num, left, top, width, height, transparent, border, countertype, format, fontname, fontsize, fontcolor, fontstyle, ref basetime);
 }
 public int Do_AddChapterEx(ushort num, UInt32 time, ushort wait, ushort kind, ushort week, ref TTimeStamp fromtime, ref TTimeStamp totime)
 {
     return AddChapterEx(num, time, wait, kind, week, ref fromtime, ref totime);
 }
        public readonly Int32 WFS_UNDERLINE = 0x04; //下划线

        #endregion Fields

        #region Methods

        public int Do_AddCampaign(ushort num, Int32 left, Int32 top, Int32 width, Int32 height, Int32 transparent, Int32 border,
            string fontname, Int32 fontsize, Int32 fontcolor, Int32 fontstyle,
            string format, ref TTimeStamp basetime, ref TTimeStamp fromtime, ref TTimeStamp totime, Int32 step)
        {
            return AddCampaignEx(num, left, top, width, height, transparent, border, fontname, fontsize, fontcolor, fontstyle,
                format, ref basetime, ref fromtime, ref totime, step);
        }