Description


Include file: xtext.h

Parent class: XGraphicObject

Overview

Functions

XText

Parameters

XGraphicDevice * device owner
XFont * font font to use
XPoint * point base point
char * text the text to print

XGraphicDevice * device owner
XFont * font font to use
XRect * rect rectangle
char * text the text to print
SHORT style style, possible values are:
TX_TOP
TX_VCENTER
TX_BOTTOM
TX_LEFT
TX_CENTER
TX_RIGHT
TX_WORDBREAK

Remarks

Construct a text object.
Construct a text object, this constructor should only be used with XGraphicDevice, not with XPrinterDevice

SetText

Parameters

char * theText

Remarks

Set text to draw

GetStyle

Return-Value

LONG theStyle

Remarks

Query the current style

SetStyle

Parameters

LONG theStyle style, possible values are:
TX_TOP
TX_VCENTER
TX_BOTTOM
TX_LEFT
TX_CENTER
TX_RIGHT
TX_WORDBREAK

Remarks

Set the style to use (not with XPrinterDevice)


This document was generated by Jens von Pilgrim's Autodoc