Jump to content

roro69

Members
  • Posts

    29
  • Joined

  • Last visited

Recent Profile Visitors

927 profile views

roro69's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

9

Reputation

  1. Hello Thank you for your answers ; Rick: Yes I am sorry, I have deviated a little from the development Paint Net; my original question was about it; I wanted to know if we could program directly in paint net a script to create a new document because the dialog box of the software is not appropriate for my use. BoltBait: in fact it's true it's useless.Thanks In any case thank you for your help and your time.
  2. Good evening no it is not actually While p.MainWindowHandle = IntPtr.Zero System.Threading.Thread.Sleep(100) End While System.IO.File.Delete(s) the file is delete before being launched Supend time is not long enough I will try another try thank you
  3. Good evening thank you for your solution I tried and the software tells me file not found. Here is the error log Thank you for your help and time
  4. Good evening I tried with the code below but I do not understand the software tells me type unrecognized image Dim painte As String = "C:\Program Files\paint.net\PaintDotNet.exe" Dim s As String = System.IO.Path.GetTempFileName() Dim monimage As Bitmap = New Bitmap(200, 200) monimage.Save(s, Imaging.ImageFormat.Png) Dim p As Process = Process.Start(painte, s) 'maybe here's a better way to wait While p.MainWindowHandle = IntPtr.Zero System.Threading.Thread.Sleep(100) End While System.IO.File.Delete(s) Merci de votre aide
  5. Hello, thank you for the response I will make a small application that will create my bitmap to the desired size and then with System.process.start I will start paint net with this bitmap. Thanks for the time and help
  6. Hello, thank you for the response If I understand correctly it is possible to create a blank bitmap in windows clipboard and load it in paint net ; so if that's the case, can you help me to code this solution? Thank you for your answers and help provided
  7. Hello I'm sorry for the english approximatf; but I want to automate the dimensions of the canvas because I have to calculate them each time with my input Thank you for your answers and help provided
  8. Hello, I would like to know if it is possible from a plugin to create a new document. That's my problem: I create new documents but I have to calculate their area as follows: The height of the surface I desire is height 10 times The width of the surface I want is width / 2 Example: My input data 624 * 22 What will give when I create new document Width 312 pixels Height 220 pixels So what I wanted was to get my entry information; then create a new document with the good dimensions Thank you for your response, and thank you for your time
  9. Hello, here's a very interesting program about this issue.Good evening https://github.com/dbuenor/hamabob
  10. Hello and thank you very much for all your kind message I will definitely update it, if some can help me code, or ideas on a cleaner graphic interface or other ideas I will be very happy I thank you in advance for the help provided Translation google sorry :)))
  11. Good evening; Here is a plugin that I use to create logos; I share it if you want to try it. On the other hand it is in French, if really you find it interesting I will try to translate it. For the plugin you can add as much annotation as you want to your image, then to apply an effect to your text you have to be careful that it is selecting :: The plugin is in Effect ----> CreaText ------> CreaLogo There it is, thanks Rogers.dll
  12. Hello ; someone would have it the start of the discussion file( Kerned text plugin) ; because the link is no longer valid . thank you very much
  13. Hello Thank you very much for your answers It's a shame because with fontname combo CodeLab; it is obliged to load the style one by one to see the result style font in the canvas. Too bad I will pass visual studio and event combo DrawItem Thank you for help
  14. Hello , Is it possible in the Drop down list fontname of CodeLab .; can draw like the paint net dropdown list fontname I would like in the plugin that I have tried to make the Drop down list like this If it is not possible ; I will do my plugin in visual studio but I find it a bit complicated create plugin with Visual studio I started my visual studio code like this: private void MonEffetConfigDialog_Load(object sender, EventArgs e) { this.MaCombo1.DrawMode = DrawMode.OwnerDrawFixed; this.MaCombo1.ItemHeight = 18; this.MaCombo1.DrawItem += new DrawItemEventHandler(this.MaCombo2_DrawItem); InstalledFontCollection MesPolicesInstalle = new InstalledFontCollection(); FontFamily[] FontFamille = MesPolicesInstalle.Families; FontFamily[] MonTableau = FontFamille; for (int i = 0; i < MonTableau.Length; i++) { FontFamily FontFamille1 = MonTableau[i]; if (FontFamille1.IsStyleAvailable(FontStyle.Regular)) { this.Macombo1.Items.Add(FontFamille1.Name); } } } private void MaCombo2_DrawItem(object sender, DrawItemEventArgs e) { e.DrawBackground(); ComboBox Macombo = (ComboBox)sender; string texte = (e.Index > -1) ? Macombo.Items[e.Index].ToString() : Macombo.Text; Font Police = new Font(texte, Macombo.Font.Size); Brush Pinceau = new SolidBrush(e.ForeColor); float fl = ((float)e.Bounds.Height - e.Graphics.MeasureString(texte, Police).Height) / 2f; e.Graphics.DrawString(text, font, brush, (float)e.Bounds.X, (float)e.Bounds.Y +fl); Police.Dispose(); Pinceau.Dispose(); e.DrawFocusRectangle(); } But I preferred to make my plugin with codelab. Thank you very much for your answers and assistance
  15. Hello if you want you can try this plugin http://forums.getpaint.net/index.php?/topic/106698-calcule-book-folding-pattern/
×
×
  • Create New...