UIFont.RenameSymbol C# (CSharp) Méthode

RenameSymbol() public méthode

Change an existing symbol's sequence to the specified value.
public RenameSymbol ( string before, string after ) : void
before string
after string
Résultat void
    public void RenameSymbol(string before, string after)
    {
        BMSymbol symbol = GetSymbol(before, false);
        if (symbol != null) symbol.sequence = after;
        MarkAsDirty();
    }

Usage Example

Exemple #1
0
 static public int RenameSymbol(IntPtr l)
 {
     try {
         UIFont        self = (UIFont)checkSelf(l);
         System.String a1;
         checkType(l, 2, out a1);
         System.String a2;
         checkType(l, 3, out a2);
         self.RenameSymbol(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UIFont::RenameSymbol