Exemple #1
0
 public static void Clear(this PositionedText Text)
 {
     if (Text != null)
     {
         Text.Value = null;
     }
 }
Exemple #2
0
 public static bool IsEmpty(this PositionedText Text)
 {
     if (Text == null)
     {
         return(true);
     }
     else if (Text.Value == null)
     {
         return(true);
     }
     else if (Text.Value.Length == 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #3
0
 public PositionedText(PositionedText Text)
 {
     this.Value    = Text.Value;
     this.Position = Text.Position;
 }