problem with inkPicture.refresh() in graphics context

  • Thread starter Thread starter Rams
  • Start date Start date
R

Rams

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.
 
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
 
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.
 
Back
Top