Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1019205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:58:34+00:00 2026-05-16T10:58:34+00:00

Idea: I want to make smth like real time electronic blackboard. Many users have

  • 0

Idea:
I want to make smth like real time electronic blackboard. Many users have one board at the screen and can draw smth at the same time, and board will update.

Implementation:
I have multi user Socket server thats allow chatting (blackboard will be new feature), i need when one user drew smth the borad should update to other users(may be it should be serialized and sent or smth else).

Question:
How can i send this image? I think i need send not whole image,but only coordinate, or your suggestions?

UPDATE: I found that in .net exists InkCanvas it is what i need, but how send image from it, is question

UPDATE: Image in InkCanvas are represented as Stroke objects, and StrokeCollection class has a Save() method that serializes image. One of solutions 🙂

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:58:34+00:00Added an answer on May 16, 2026 at 10:58 am

    IMO, first you will need to use the Drawing namespace to let the user draw on perhaps a panel or something. I don’t think that would be that difficult comparing to what is next. The transferring of the information. As you have figured on HOW to transfer the data (socket), your next problem is WHAT to transfer. Sending a complete image would work but will be a wastage of network bandwidth and would be completely inefficient. So coordinates are your best choice

    http://www.bobpowell.net/coordinatesystems.htm
    
    http://www.java2s.com/Tutorial/VB/0300__2D-Graphics/Drawlineusingfloatcoordinates.htm
    

    The two links provided mention how to use coordinates to draw something. The way to transport the information is probably XML or your own encoding mechanism to encode X1,Y1 to X2,Y2 coordinates.

    Capturing coordinates when drawing straight lines (or basic shapes) should be easy but i do not have an idea of how to do it when freehand drawing is used.

    And finally, you should have a mechanism in making sure everyone in the chat room get the coordinates correctly as soon as something is drawn.

    UPDATE:
    About your freehand drawing issue, these links will help you

    http://www.codeproject.com/KB/GDI-plus/Freehand_Drawing.aspx

    http://www.c-sharpcorner.com/forums/ShowMessages.aspx?ThreadID=88543

    http://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.graphicspath.aspx

    This link looks very promising as it is a whiteboard application used by 2 users… With a little more effort, perhaps you can make it work for any amount of users 🙂
    http://www.codeproject.com/KB/dotnet/csharpwhiteboard.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make a screen scraping exactly the same idea as this one
Context I have a live running redis-server. I want to make a backup. Idea:
I want to make my gridview rows selectable. I don't like the idea of
I want to make phone based textbox in my html-page. someone have idea how
I have no idea what these bars represent, but still I want to make
Anyone have idea how to make control over volume. I mean i want to
I have a webview in one of lay out and I want make the
I have an idea on how to do this, but I want to make
I want to make a edit profile form for my website. My idea is
I want to make some GUI mockup program for video player, so my idea

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.