473,811 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with inkPicture.refr esh() 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.cr eategraphics(), (read the point by point from xml file)
and g.drawline() to render point by point and finally
inkpicture.refr esh()(this is after each point rendering because if i
dont use it i could not able to see drawing changes).
inkpicture.refr sh() is taking more time its getting delayed can any one
help me.

Apr 12 '06 #1
2 1969
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(inkpictu re.height,inkpi cture.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
1480
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 read it. Everytime I get a error from the debugger. I tried all kinds of thinks but can figure out what is going wrong. Using the C#builder from Borland I get it working, but not with VS. What am I doing wrong ? I included the program so you can see...
0
950
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 grids I have the following code... .....
5
1402
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 a timer and had the timer update a Label on the form with timer interval set to 10. Now all the shapes I draw in the Paint event of the form draw WITHOUT flicker!!! What is updating a Label doing that is preventing flicker? Is it somehow...
0
3169
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 datacolumns do not trigger their expression when other columns from which the expressions are derived are updated. Below is a basic example of what I am doing. User enters values into an asp.net form and clicks a button. Retrieve dataset from...
12
1905
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 "Retrieving results..." text. This should be really simple, but in IE, it does not work. Here's the code that is not executing in IE: And here is the context of that code, which is the AJAX function that is called when a radio button is clicked,...
0
1176
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 staying if i minimise or max its vanishing. suppose if i attach an image to it as inkpicture.image = new bitmap(inkpicture.height,inkpicture.width), g=graphics.fromimage(inkpicture). then i have to refresh the inkpicture after each point...
0
1978
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 specific record in a table so the InkPicture is viewable once saved. The only way I have seen this done is to convert the picture to a Base64 and then insert into table with a data type of memo. For viewing then the Base64 is converted back. Can...
1
3803
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 expand on one of the example programs in the book but I'm having some problems. I can get a frame to appear, then an image gets randomly placed in the box. It is suppose to move right, then when it hits the edge move left; it should repeate this...
2
2861
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 fragment of code I think to be the cause of the problem. Then, I will post the code to all 3 of my java files in their entirety should you wish to reference them. Any help would be much appreciated. Also, if it would help fix my error, I would...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10389
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6890
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.