472,110 Members | 2,118 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 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 1890
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bardo | last post: by
reply views Thread by solano | last post: by
5 posts views Thread by Peter Oliphant | last post: by
reply views Thread by Chris Ericoli | last post: by
12 posts views Thread by Joel Byrd | last post: by
reply views Thread by Rams | last post: by
1 post views Thread by rsteph | last post: by

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.