logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Customer panel Support
    • en
    • ru
    • pt
    • es
    • de
    • pl
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Styles in FastReport .Net
  • How to create QR code with a picture

    January 9, 2019

    It's no longer a novelty to see a pixel QR barcode on the product packaging.

    read more
  • How to use FastRerport.Core in Vue.js application

    June 30, 2019

    The framework Vue.js is now very popular and is on a par with Angular. We

    read more
  • Connection to NosDB (NoSQL)

    November 11, 2019

    NosDB is a prominent representative of the NoSQL databases. It is designed for use on

    read more
  • When is the best way to use a code report and when in frx format

    February 29, 2020

    As you probably know, reports in FastReport.Net can be created not only in a special

    read more
  • How to create a Swiss QR bill in .NET application

    May 19, 2020

    Recently many countries digitize payments. In other words, they convert existing payments to digital format.

    read more

Styles in FastReport .Net

February 6, 2016

In this article, I would like to talk about the use of styles in FastReport. Net. Indeed, many people underestimate this feature. They think that styles helps bring documents to a unified specie.

Almost every user faced with a text editor Microsoft Word. And most know that styles help instantly change the appearance of objects (such as titles).

FastReport .Net also allows styles to bring individual objects or groups of objects to uniformity. The practice of style greatly accelerates the development of reports.

So, open the report designer. The toolbar Stiles is located on the tab Home:

 

There is the drop-down list that allows you to choose the current style. To apply the style you need to select an object or group of objects. Then select the desired style from the drop-down list.

To open the Style Editor, use the icon below the drop-down list:

In the Style Editor, you can add, delete, and edit. In addition, you can save a set of styles file * .frs, and then load styles from this file to create another report. This is very useful if you are developing many reports in the same style.

Style allows you to:

  • set the object frame. This can be a whole frame and one or more lines to choose from. Also, is defined style, thickness and color of lines;
  • Set the fill color. This can be not only a solid color, but a gradient or hatching;
  • Set the font. Traditionally, you can set the size, style, alteration;
  • Set the font color.

For example, apply a style for headlines data in the report Master-detail:

 

Bands also have property Style. This means that it is possible to apply the custom styles. But let's turn our attention to the property EvenStyle. Because of this property we can set style for even rows in the table.

Create another style with a light gray fill. Choose a band with the data (in our case, a detailed band data). For the property EvenStyle select created style. Preview the report:

 

Admit this is a very simple and effective. Thus, using the styles in your reports, you will: accelerate the creation of the report, achieve a uniform design of report objects, and improves the appearance of the lists through the property EvenStyles.

about product download buy
avatar
Dmitriy Fedyashov
Head of QA
.NET FastReport

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Our team
  • Contact us

© 1998-2021 by Fast Reports Inc.

  • Privacy Policy