473,388 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

problem with inkPicture.refresh() in graphics context

Hi All,
iam writting an application which has inkpicture as white
board for writting purpose and audio to capture voice. iam saving ink
annotations along with its audio time stamp in xml file. another
application will replay the recorded content as it is. it means one
apllications records and other application renders as it was drawn
smoothly on the board. my problem is to while rendering i use
g=inkpicture.creategraphics(), (read the point by point from xml file)
and g.drawline() to render point by point and finally
inkpicture.refresh()(this is after each point rendering because if i
dont use it i could not able to see drawing changes).
inkpicture.refrsh() is taking more time its getting delayed can any one
help me.

Apr 12 '06 #1
2 1942
Um last project I was involeved in along those lines I just used a
picbox with the mouse down event. (Kinda make your own inkpicture
control). It all worked very sweet this way.

It only takes about a half hour to complete this task if inkpicture is
anoying you.

-dm

Apr 12 '06 #2
hi,
thx for your reply. actualy i have this problem when iam rendering
point by point not at the time of capturing. inorder to sustain the
data on the graphics context i attached an image as inkpicture.imag =
new bitmap(inkpicture.height,inkpicture.width) . so every time it
demends to refresh the inkpicture, but it is taking time. thats my
problem is there a way to eliminate this.

Apr 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bardo | last post by:
Hi all Ok first of me new to C#sharp. At the moment I am still learning the language. The problem I am running into is that I just can't seem to get a picture embedded into my program and then...
0
by: solano | last post by:
Alright, I cannot figure out what I'm doing wrong here. As some of you know I've been stripping out C1 out of my current project, and going back to native .NET controls. However, on one of my...
5
by: Peter Oliphant | last post by:
I'm drawing graphics using the Graphics object one can grab in a Form's Paint event. But I'm getting a weird thing happening... These graphic shapes flicker (even if unchanged). UNLESS- I created...
0
by: Chris Ericoli | last post by:
Hi, I am working with an 'in session' ado dataset with an asp.net application. My dataset is comprised of two tables, one of which maintains a few calculated datacolumns. For some reason these...
12
by: Joel Byrd | last post by:
I am making an AJAX call when any one of a number of inputs in a form (search criteria) are clicked, checked, changed, etc. When the user clicks, checks, whatever, I am trying to display a...
0
by: Rams | last post by:
hi iam writting application where rendering point by point on inkpicture captured by newpackets event in another application. i have two problems here. if i use inkpicture.creategraphics () ink is...
0
by: hafrkamp | last post by:
I have programmed an Access 2007 database and I have what I thought was a relatively easy feature to add but I cannot figure it out. I have an InkPicture on a Access Form that I need to save to a...
1
by: rsteph | last post by:
I bought a book to help me learn to use DirectX with windows programming. It's first trying to walk me through some basic windows programming and graphics before getting into DirectX. I'm trying to...
2
by: slapsh0t11 | last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.