Example #1
0
 public override void WriteAsClearText(IClearTextWriter writer)
 {
     if (Value == Type.Integer)
     {
         writer.Info("Writing vdctype = real instead of integer (as read by the binary file) because of some problems using integer. If the CGM file could not be opened in any viewer please edit file and change vdctype.");
         writer.WriteLine($" vdctype {WriteEnum(Type.Real)};");
     }
     else
     {
         writer.WriteLine($" vdctype {WriteEnum(Value)};");
     }
 }