IT. Expert System.

C

settextstyle()


Settextstyle function is used to change the way in which text appears, using it we can modify the size of text, change direction of text and change the font of text.

Syntax:
 void settextstyle( int font, int direction, int charsize);


Example:

#include 
#include 
 
main()
{
   int gd = DETECT, gm, x = 25, y = 25, font = 0;
 
   initgraph(&gd,&gm,"C:\\TC\\BGI");
 
   for (font = 0; font <= 10; font++)
   {
      settextstyle(font, horiz_dir, 1);
      outtextxy(x, y, "text with different fonts");
      y = y + 25;
   }
 
   getch();
   closegraph();
   return 0;
}


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 231 / 158730186. Delta: 0.00294 с