I am trying to create a simple field on my .aspx form where one can draw, this could include a signature or a name. After which i should be saved as an image (.jpg). I don't know how I am going to program this, any suggestions on how i should take this problem.
I have not done a lot of programming on this subject. I am simply looking for ways on doing this and haven't found a lot of useful information after a quick search.
(P.S. I don't have any experience with using canvasses and such)
Thnx for the suggestions!
Check this page,
you will find tutorial with some jquery plugins to draw canvas in HTML page.
Related
so I'm trying to create a Panel-System, where the user can "Design" his own layout. The user should be able to grab the Panel and dock it wherever he likes, or even leave it floating as a separate window.
I really love how Adobe solved this in Photoshop, InDesign, or Illustrator.
But I also can accept similar solutions.
I made some Screenshots to show you what I mean.
I can't even figure out how to start. And I couldn't find some instructions or tutorials online because I have no Idea how this system is called. Therefore, I have no code to demonstrate.
I honestly would be already happy, if someone just leaves the name of such system. Or a link to a tutorial.
Thank you :)
Screenshots:
Google Drive
I'm looking for an example implementation of a ASP.NET MVC-based, drag&drop designer surface. My googling skills are failing me, so I thought maybe someone has knowledge on an example implementation.
I'm not looking for a paint on canvas functionality - I'd rather have dragable and dropable shapes/images.
Ideas anyone?
William Malone has a awesome tutorial about that, int tutorial he developed many functionalities and all very much explained.
Check it out:
Create a Drawing App with HTML5 Canvas and JavaScript
All the info i found about page fliping is just source code that i'm having trouble implementing to my code.
this tutorial
kinda explains the logic behind page fliping but the code is for windows form and not WPF.
i dunno how to approach it because as i understood bitmaps are not used the same in WPF.
anyone has a good tutorial or could give me some pointers?
What im trying to do is i have an image that fills entire screen and i want to flip it to to next image ( like a book) that will also take the entire screen.
(Not 2 images on a screen)
Help?
To anybody that suggests using C++ or DirectX, I'm not interesting in learning those skills. Only C# code please.
The WPF bag o'tricks has a page flip sample with code.
The github source
https://github.com/thinkpixellab/bot
Specifically, look at the TransitionPresenter sample in the demo project where there are multiple transitions defined, one being page flipping.
Is there a way to display tooltips on an image that is dynamically created. The image is a dynamically created chart that has multiple points and on mouse over on a specific point I need to show additional information via a popup.
I'm using a web forms .net 4.0 and using the System.Drawing and System.Drawing.Imaging namespaces.
If your only output is a flat image, you could try adding a <map> to your page and set the 'title' attribute of each <area> to your tooltip value.
You can learn more about creating maps here: http://www.w3schools.com/tags/tag_map.asp
Essentially, you're defining regions of your image as hot spots.
If you know exactly where the point is, you could create an image map. But will be cumbersome.
How to make an image map:
http://www.javascriptkit.com/howto/imagemap.shtml
I would recommend that you use a Javascript Charting Library, there are tons of them out there. And there are some good free ones.
We are using Highchart
http://www.highcharts.com/products/highstock
But this is not free.
You can use a image map, but in order to do that, you're going to need the exact coordinates and if you're off by just a little bit, it could be messed up. Have you given any thought to using MS Charting? http://www.microsoft.com/download/en/details.aspx?id=14422
With MS Charting, everything is done on the code behind and it generates an image just as the way you're doing it now. The difference is on the backend, when you create the datapoint, you can set the tool tip and several other properties like this:
DataPoint.ToolTip = "Your Tooltip Here";
If you are unfamiliar with them, there is a ton of documentation and samples online.
Good Luck!
I am just wondering if it's possible to create a WPF application that allows users to use a certain pen to plot directions to make a certain path and able to display the path data.
The idea is almost the same with this one: http://blogs.msdn.com/b/gavingear/archive/2007/02/15/intoducing-pathmaker-a-tool-for-creating-path-markup-for-wpf-e.aspx
I also found a good sample where I can draw lines and stuff inside the canvas: http://www.codeproject.com/KB/WPF/WPF_DrawTools.aspx
I'm just looking for a good head start. Any suggestions?
Jesema is another one that might be helpful for you:
http://marlongrech.wordpress.com/jasema/
If you want something where you can draw stuff inside a canvas, there's livegeometry
http://livegeometry.codeplex.com/
but that one has the path data abstracted away (that's more similar to your draw tools example).
Hope those help!
I know this question is quite old, but I found that Inkscape supports save to XAML.
See this article: http://www.software-architects.com/devblog/2008/01/13/Graphic-In-XAML-And-WPF