Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Putting bitmap to RTF

Putting bitmap to RTF

Scheduled Pinned Locked Moved C#
tutorialgraphicshardwareperformance
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tomiga
    wrote on last edited by
    #1

    Welcome, Have you got any example how to put Bitmap (created during working of application) and than put it (embedded) in RichTextBox control. Bitmap is created in the memory (not reading from file). thx

    L 1 Reply Last reply
    0
    • T tomiga

      Welcome, Have you got any example how to put Bitmap (created during working of application) and than put it (embedded) in RichTextBox control. Bitmap is created in the memory (not reading from file). thx

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Hi I have tried to do something similar and there seems to be 2 ways: 1. Easy - place bitmap object in clipboard and paste to richtextbox. Problem that u use the clipboard and mite "lose" data that still needs to be there. 2. Hard - Create a RTF file in a word processor with required bitmap, save the file. Now add that to the Rtf of the richtextbox. This could coause many problems though :( 3. Ideal solution - Every stick together and make a proper WordProcessingTextBox with all the features we always wanted :). Like highlighting :) Hope this helps MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

      T 1 Reply Last reply
      0
      • L leppie

        Hi I have tried to do something similar and there seems to be 2 ways: 1. Easy - place bitmap object in clipboard and paste to richtextbox. Problem that u use the clipboard and mite "lose" data that still needs to be there. 2. Hard - Create a RTF file in a word processor with required bitmap, save the file. Now add that to the Rtf of the richtextbox. This could coause many problems though :( 3. Ideal solution - Every stick together and make a proper WordProcessingTextBox with all the features we always wanted :). Like highlighting :) Hope this helps MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D

        T Offline
        T Offline
        tomiga
        wrote on last edited by
        #3

        leppie wrote: Hi I have tried to do something similar and there seems to be 2 ways: 1. Easy - place bitmap object in clipboard and paste to richtextbox. Problem that u use the clipboard and mite "lose" data that still needs to be there. Hmm I did't think about it... but how to copy bitmap from Form (for example I would like to write some kind of chart and put it into rtf) leppie wrote: 2. Hard - Create a RTF file in a word processor with required bitmap, save the file. Now add that to the Rtf of the richtextbox. This could coause many problems though In my case it couldn't be done. leppie wrote: 3. Ideal solution - Every stick together and make a proper WordProcessingTextBox with all the features we always wanted . Like highlighting That's cool. But unfortunately I don't have time to do it :( (but maybe in future it is good idea :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups