Library to Generate UML Diagrams - c#

My project actually use XML files to define flow of the application.
I like to convert this XML a image that represent the flow, to use it in the documentation.
There is any c# library that help with the graphical part of a UML generation?
There is any XML standard format to generate UML flows that can be converted to IMG?
I need something like this

I use GraphViz to model things like this. No, there's no particular .Net component to do it but you can fairly trivially generate the simple textual version of Graphviz and then run the command-line to generate the diagram and render it to your choice of png, svg etc.
You can see an example in my answer to this question.
Update 2018-06-07
Recently I've been using another tool which puts easier syntax on top of GraphViz - PlantUML. There's a great online version PlantText

Are you looking for something like this?
http://www.xmlmodeling.com/

Related

Generate image from PowerPoint slide

I use Open XML SDK tool to parse pptx-files. Now I am going to develop my own .NET library/tool to generate an image from a PowerPoint slide. Open XML SDK in principle is not for such tasks, and I do not know where to start research?.
maybe to solve it better to use another programming language, for example, C++ (I also know it) with some library?
or it may be necessary intermediate convert pptx into some another format, for example, HTML and only then to image?
I also tried to investigate Aspose.Slides and Spire.Presentation libraries' dependencies in NuGet to know what they use to an image generation, but these attempts did not succeed.
This looks like a good starting point: Presentation to image conversion
The cited versions are old, but the syntax is still the same: PPT slides to images
My mistake, I misunderstood the end goal.

XML schema generation library

I'm looking for some library that can parse XML or XSD files and create (even simple) GUI interface which is parsed schema compliant (some kind of a GUI editor for the schema). The user could fill it and save into XML file. I want to use it in my program as a module, so I can't use any external programs. I tried to find something in the Web, but still unlucky:(
Do you know any libraries such like that one? I want it in C# but if there are no such things written in .NET I could have a look at something from other language.
With a simple google search I came up with the following free tools:
XML Data Editor
Easy XML Editor

C# image recognition

I'm currently searching for a C# image recognition library.
What I want to do:
I want to write a function that scans an image and returns if another image is part of it. Or at least something that looks familiar in case that the angles of the two objects are different.
The link to a possible library and a short code example would be great!
Thank you in advance!
Since you didn't mention that you are only looking for free libraries, here are some paid ones:
MVTech HALCON
Cognex VisionPro
Both have demo versions and quite good .Net wrappers bundled to the SDK, and I think both have the functionality you need. In Halcon, you might want to try different matching algorightms (gray value based, descriptor based, etc.), while in VisionPro PatMax or PatQuick might suit your needs. But obviously you have to try which one is the best for your specific problem.
EmguCV (http://www.emgu.com/wiki/index.php/Main_Page) is a good .NET OpenCV wrapper. It has a bunch of sample projects bundled. Run samples and you will get the idea of what can be done and how.
The Accord.NET library is not actually an image recognition tool set, however it provides the base for what you are aiming for. It contains many Imaging classes required for building an image recognition system. Accord.NET is LGPL licensed, except for some parts of it (e.g. its FFmpeg wrapper project).

printing invoice To PDF

I need to write a program that retrieves information from a database and creates an invoice in a pdf format based on the information.
I would like to write the program in C# or Java, preferably not C++ as I think it would take too long to code.
I was wondering what Language would be best and what api's from these languages would provide the best results, and if possible some documentation(and a little tutorial would be nice). I need something simple but has to have a bit of customised content(colored Tables and fonts and whatnot).
In Java, I have found the iText API to be very handy.
http://www.itextpdf.com/
iText is the de-facto standard for creating PDFs in Java, I would recommend this. There is also a C# implementation of the iText API.
Also, as a sidenote, Adobe flex allows you to create client-side PDFs using an open source library called AlivePDF, which I've found to work well for basic PDF generation that bypasses server-side processing.
For C# you could use ITextSharp
http://sourceforge.net/projects/itextsharp/
Typically you're scenario calls for some form of Business Intelligence and/or Reporting Tool. There are a few around (some open source, some not):
BIRT
Crystal Reports
Jasper Reports
..
The ones I know are not heavy on programming but more on configuration of the data-sources and creation of the templates.

Exporting a GUI to XML?

Is there a tool to take a GUI designed in C# or other languages that can take the screen layout and export that to an XML file such that you end up with a template of the screen in XML terms? As well as take an XML file and display the resulting screen?
Have you investigated XAML in WPF? You mention C#, so it seems like this is directly in line with what you're asking about.
http://en.wikipedia.org/wiki/XAML
Another good jumping off point might be this:
http://en.wikipedia.org/wiki/List_of_user_interface_markup_languages
XAML and XUL are designed to work in precisely this way. QT and Glade also offer this facility. However, they do not (as far as I know) offer any facility to reverse engineer a GUI that was not created with the layout tooling.
To use this type of tool you have to go from the form designer, which will save the form as a descriptor file. The toolkit will then offer various means (the exact method varies with the toolkit) to load the descriptor file and render the screen from it or use the descriptor as input into a code generator.
There is java.beans.XMLEncoder/XMLDecoder. But if you want to do that sort of thing, I think you are misguided.

Categories