As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been googling methods for interacting with PowerPoint via C# and have had a play with Interop and VSOT (I think - is this a wrapper around Interop).
Does anyone have any tips or pointers on best practice ? I seem to find several different methods for dealing PowerPoint files. I essentially need to replace text, apply styles and update charts and tables. I'm not creating them - everything will be done from template files.
The best option, especially if you are working with newer extensions (pptx, xlsx, etc) is OOXML.
Have a look here and samples on working with powerpoint here
replace text, apply styles and update charts and tables.
I think VBA is the simplest way to do that. But if your needs, in future go past these, into more advanced territory, you'll have no choice but to switch to a different approach. VBA is limited in many ways.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am trying to put together a solution for our office to map the cubicle and office layout. We currently have both php and C# applications, so the solution can be built in either. We have something in PHP already, that allows us to move people from one cubicle to another, but it is based off a static image size and point coordinates. For example, cubicle one is at (3px, 4px). While this solution is working, it doesn't allow for the image size to change, or for the image to change at all without significant coding to realign all of the points on the image. Is there a better solution that can be used or an open source library that would be helpful? A coworked suggested that the Google Maps API might be helpful, or Leaflet.js. However, these both use geocoding, so unless our current Lat and Long is accurate to like a foot, I don't see how these could help.
Thanks for any suggestions.
Update
Here is an image similar to the one we are using. We add absolutely positioned clickable divs over the image to show who sits there.
What your co-worker suggested is not so much the GMaps API itself but the implementations of rotations/geosync translation/zoom algorithms that would allow you to flip an image and all the points related to the image.
No specific code implementation, so I can't be more specific.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Currently, I am looking for a (commercial or free) .NET/C# image processing library for a WinForms project to apply customizable effects like Instagram or Microsoft Office Word does, e.g.:
I found plenty of image libraries like:
ImageMagick
Lead Tools
Free Image
DotImage
...
Unfortunately, all these libraries seem to provide a rather low-level way of manipulating images. When it comes to high-level effects like borders, rotation, vintage filters like Instagram, etc., I found zero libraries.
(Ironically, for JavaScript, there are quite a few libraries out there)
Maybe there is no market for such a library, still I would love to have this function in my application without doing everything on my own.
Therefore my question is:
Is there a .NET library available to have a customizable and extendable way of applying various high-level filters to images?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a small C# app and I'd like to provide the ability to preview diffs and accept changes. My inputs are only text files. I came across some tools like kdiff3 and winmerge and I was wondering if anyone's integrated them inside a C# app and if yes, how was it done? I also came across some nice projects on CodeProject from an earlier stackoverflow question but since those projects were written in 2004, I was wondering if you have any suggestions for an open source diff and merge tool that I can integrate? Thanks!
Have you checked out csdiff ?
http://code.google.com/p/csdiff/
You might want to checkout DiffPlex. It is (amongst other things) a library that can be used to generate text diffs. It also provides some higher level classes that provide a more complete "diff model" that should be easier to use for rendering diffs in, say, a textbox.
Personally, I have only used it for minor tasks, but it looks powerful enough to handle more sophisticated scenarios as well.
Winmerge, as you mentioned, can be integrated with other apps via the command line. Here's an example of visual studio using these command line parameters to replace the built in diff client. In regards to launching winmerge itself, I found this simple example of how to call an external program from C#.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Other than AWT, Swing, SWT (Java) - are there any good open source Java or C# UI libraries around? In particular, libs intended or at least usable for strategy gaming dev? (The visual appearance of the UI would need to be highly dynamic and easy to re-skin obviously.) Engines or "frameworks" which include this functionality are valid answers as well (of course I even more doubt that those exist).
As far as I can tell - there's not a single thing like this out there. Anyone able to prove me wrong?
Not sure about Java, but for C# I would look at either XNA or Unity to start out with.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a linear programming solver for C#. In the other words I'm looking for a library for C# that solves linear programming problems.
I need an easy to use library (so I can learn how to use it quickly), but it would be nice if it supported some features as automatic absolute values conversion (so I don't have to program the conversion myself). It is important that the library should be for free (not necessarily open source).
Good documentation is huge advantage for me. 10%-20% worse performance is not critical for my project.
Thanks for your answers
Math.NET
Read C# linear algebra library
EDIT: Check out http://en.wikipedia.org/wiki/Linear_programming#Solvers_and_scripting_.28programming.29_languages
This one might be what your looking for though. Says it works with .Net
http://lpsolve.sourceforge.net/5.5/
You can use WNLIB, but it's plain C so you have to wrap it in a DLL library and then use it with C#.