예제 #1
0
 public void RemoveFormatRun(FormatRun r)
 {
     field_4_format_Runs.Remove(r);
     if (field_4_format_Runs.Count == 0)
     {
         field_4_format_Runs = null;
         field_2_optionflags = richText.ClearByte(field_2_optionflags);
     }
 }
예제 #2
0
 public void SetExtendedRst(byte[] ext_rst)
 {
     if (ext_rst != null)
     {
         field_2_optionflags = extBit.SetByte(field_2_optionflags);
     }
     else
     {
         field_2_optionflags = extBit.ClearByte(field_2_optionflags);
     }
     this.field_5_ext_rst = ext_rst;
 }