Welcome To Snipplr
Everyone's Recent C# Snippets Tagged Net
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This technical tip shows how to Set Line Spacing of the Paragraph in a Shape or Textbox in .NET applications. You can set the line space of the paragraph, its space before and space after using the TextParagraph.LineSpace, TextParagraph.SpaceBefore a...
0
1839
posted 7 years ago by sherazam
This technical tip shows how .NET developers can add line object to an Existing PDF File inside their .NET applications. Aspose.Pdf for .NET supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. You als...
0
1712
posted 7 years ago by sherazam
This Technical tip explains how .NET developers can render an image of 3D model from the camera inside their .NET applications. Using Aspose.3D for .NET, developers can render an image to view a realistic image of 3D model, with or without the enhanc...
0
1059
posted 7 years ago by sherazam
This technical tip explains how .NET developers can Crop an EMF Image inside their .NET applications. Image cropping usually refers to the removal of the outer parts of an image to help improve the framing. Cropping may also be used to cut out some p...
0
1019
posted 7 years ago by sherazam
This technical tip shows how to convert PDF pages to TIFF image inside .NET Applications. The TiffDevice class allows you to convert PDF pages to TIFF images. This class provides a method named Process which allows you to convert all the pages in a...
0
1581
posted 7 years ago by sherazam
This technical tip explains how .NET developers can Copy Message from one Mailbox folder to another. Aspose.Email API provides the capability to copy message from one mailbox folder to another. It allows copying a single as well as multiple messages...
0
1085
posted 7 years ago by sherazam
This technical tip explains how to .NET developers can list email messages with paging support inside their .NET Applications. In scenarios, where the email server contains a large number of messages in mailbox, it is often desired to list or retriev...
0
1176
posted 8 years ago by sherazam
A conference call is a meeting, conducted over the phone using audio, between two or more people and usually for the purposes of discussing a particular topic. In my former snippets I dealt with text-to-speech and speech-to-text functionalities. So t...
0
1373
posted 9 years ago by warnerBro19
While searching on the Internet on how to make SIP video calls using C#, I recognised that there aren’t any brief and straightforward tutorial in this topic. I found multi-page articles (sorry, but some of them are full of bullsh*t) and neverending...
0
1165
posted 9 years ago by sacha-manji
API Controller for Azure Mobile Services with DocumentDB as the backend.
0
760
posted 9 years ago by giventocode
C#
C#/.NET Code Samples to Save Microsoft OneNote (.one) file as an image (.PNG, .BMP, .JPEG, .GIF) file
The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
0
1567
posted 10 years ago by johansonkatherine
Shows how to use WebClient class to retrieve HTML from an URL and then to use HtmlAgilityPack to parse it.
1
1177
posted 11 years ago by denakitan
Utility class that abstracts the creation of a Excel spreadsheet through Interop, and helps on adding and format its contents.
1
1294
posted 11 years ago by denakitan
Example of the usage of Directory IO class and the parsing of strings to DateTime.
1
750
posted 11 years ago by denakitan
Snippet to illustrate how to bind a ComboBox to a Dictionary.
0
1048
posted 11 years ago by denakitan
Snippet to illustrate the three actions that happen in all LINQ query operations.
0
786
posted 12 years ago by denakitan
Mostrare una tile dall'isolated storage con Windows Phone 7.1
0
577
posted 12 years ago by kajinka13
Create stored procedured in your database to handle users. Membership and Rulemanager.
Type the line below in a commandprompt where "xxx.xx.xx.x" is IP to server and "mr" stands form membership and rulemanager.
0
586
posted 12 years ago by Barlon
.net 3.0+, To create stability in your code, you must check all inputs into a method to make sure they are valid . Often people overlook this step because of laziness, or because they aren't convinced that exceptions and assertions are actually in pl...
0
685
posted 12 years ago by bryanlyman
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly.
If original .asmx doesn't return JSON, extend it like example shows.
JSONP only works for GET requests, so don't forget...
0
744
posted 13 years ago by FMalk
This is an extension method for splitting strings with a regular expression.
0
633
posted 13 years ago by gyurisc