Пример #1
0
 public void Copy(TextLimit textLimit)
 {
     enable   = textLimit.enable;
     maxWidth = textLimit.maxWidth;
     gap      = textLimit.gap;
     suffix   = textLimit.suffix;
 }
Пример #2
0
        public TextLimit Clone()
        {
            var textLimit = new TextLimit();

            textLimit.enable   = enable;
            textLimit.maxWidth = maxWidth;
            textLimit.gap      = gap;
            textLimit.suffix   = suffix;
            return(textLimit);
        }