|
C# Syntax using ImageConverterVsWrapper;
ImageConverterVs obj = new ImageConverterVs(); obj.ClearAllText(); obj.AddText("This is sample text 1", 100, 100, "Arial", 22, 255, 0, 0, 255, 0, 0, false, 0, 0); obj.AddText("This is sample text 2", 600, 150, "Times New Roman", 28, 0, 100, 0, 255, 0, 0, true, 0, 0); obj.AddText("This is sample text 3", 100, 200, "Arial", 28, 255, 255, 255, 0, 0, 255, true, 0.0, 20); obj.AddText("This is sample text 4", 100, 250, "Arial", 22, 255, 255, 0, 255, 0, 255); obj.AddText("This is sample text 5", 100, 300, "Arial", 22, 0, 128, 0, 181, 230, 29, true, 0, 0, true, true, true); bool bResult = obj.ConvertToImage(strinputpath1, stroutpath);
|