TesseractTrainer.App_Code.Glyph.AddImage C# (CSharp) Метод

AddImage() публичный Метод

public AddImage ( string ImagePath ) : void
ImagePath string
Результат void
        public void AddImage(string ImagePath)
        {
            GlyphImage GI = new GlyphImage();
            GI.GlyphID = this.ID;
            GI.Path = ImagePath;
            GI.Save();
            this.Images.Add(GI);
        }

Usage Example

Пример #1
0
 public void AddGlyph(string Unicode, string ImagePath)
 {
     Glyph G = new Glyph();
     G.FontID = this.ID;
     G.Unicode = Unicode;
     G.Save(false);
     G.AddImage(ImagePath);
     Glyphs.Add(G);
 }
All Usage Examples Of TesseractTrainer.App_Code.Glyph::AddImage