RtfDomParser.RTFColorTable.Clone C# (CSharp) Method

Clone() public method

���ƶ���
public Clone ( ) : RTFColorTable
return RTFColorTable
        public RTFColorTable Clone()
        {
            RTFColorTable table = new RTFColorTable();
            for (int iCount = 0; iCount < myItems.Count; iCount++)
            {
                System.Drawing.Color c = ( System.Drawing.Color ) myItems[ iCount ] ;
                table.myItems.Add(c);
            }
            return table;
        }