Coder Social home page Coder Social logo

fab2bprog / examples-of-printing-with-csharp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 769 KB

The goal of this example is to make a synthesis of the printing possibilities of C#. Good for learning how to print.

License: The Unlicense

C# 100.00%
csharp print printing piechart impression csharp-code imprimer reports reporting-tool

examples-of-printing-with-csharp's Introduction

Impression avec csharp

Description in English:

The goal of this example in C # is to make a little synthesis of the functions / possibilities of printing online code of this language.

There are 4 printing examples (see photos) with progressive difficulty.

  • The first example of printing with a line of text and a horizontal dash.
  • The second where you can print an image of your choice.
  • Another one that includes an example of printing a pie chart (piechart)
  • Then the last one, using the technique of cell printing. It is used in particular to print tables. It works in an arrangement of cells (containing text or numbers) like those found in spreadsheets.

You can choose to print with printer selection, on the default printer, to preview its printing.

If you usually encounter problems with your prints, I have added a pdf document on the cell printing technique. This is an interesting technique when you generate impressions from lines of code and do not have a graphical report editor to make your life easier. It allows with relative simplicity to generate complex reports.

Developed with Visual Studio 2019.


Description en Francais :

Le but de cet exemple en C# est de faire en quelque sorte une petite synthèse des fonctions / possibilités d'impression en ligne de code de ce langage.

Programme à vocation pedagogique pouvant servir de base au developpement de votre futur application.

Il y a 4 exemples d' impression ( voir photos ) avec une difficulté progressive.

  • Le premier exemple d' impression avec une ligne de texte et un tiret horizontal.
  • Le second où vous pourrez imprimer une image de votre choix.
  • Un autre qui inclue un exemple d'impression de graphique en camembert ( piechart )
  • Puis enfin le dernier, reprenant la technique de l'impression en cellule. Elle sert notamment pour imprimer des tableaux. Son fonctionnement réside dans un agencement de cellules (contenant du texte ou des nombres) comme celles que l'on trouve dans les tableurs.

On peut choisir d'imprimer avec sélection d'imprimante, sur l'imprimante par défaut, de prévisualiser son impression.

Si vous rencontrez des soucis habituellement avec vos impressions, j'ai rajouté un document pdf sur la technique d'impression en cellule. C'est une technique intéressante lorsque on génère des impressions à partir de lignes de code et que l'on ne possède pas d’éditeur d’état graphique pour nous simplifier la vie. Elle permet avec une simplicité relative de générer des états complexes.

Développé avec Visual Studio 2019.


examples-of-printing-with-csharp's People

Contributors

fab2bprog avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.