Class PrintItemText
Base class for any report item containing text properties, ExpressionItem and LabelItem are examples
Inheritance
Implements
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
public class PrintItemText : PrintPosItem, IDisposable
Constructors
PrintItemText()
Constructor
Declaration
public PrintItemText()
Properties
Alignment
Horizontal alignment for the text inside the box defined by the component. The text can be aligned Left (also None), Right and Center. The right toleft property can alter the meaning of this property
Declaration
public TextAlignType Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignType |
BackColor
Background color for the printed text, if Transparent property is set to false
Declaration
public int BackColor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
CutText
If true, the text will be clipped to the defined box, else the text will expand outside the box, if word wrap is true, the widh of the box will be preserved.
Declaration
public bool CutText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FontColor
Font color, internally stored as a quad byte 0x0BGR integer
Declaration
public int FontColor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FontRotation
Rotation angle in degrees for the text. Rotation in reverse clock wise, internally stored as an integer in degrees*10 scale.
Declaration
public short FontRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
FontSize
Font size in standard points unit, that is 72 points=1 inchess
Declaration
public short FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
FontStyle
Combination of a set of possible effects for the font: bold, italic, underline and strikeout, all the styles are compatible. Internally stored as an Integer
Declaration
public int FontStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
InterLine
Still not implemented, for future use, when multiple lines are drawn represents the space between lines
Declaration
public int InterLine { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
LFontName
Font family name for Linux operating system
Declaration
public string LFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MultiPage
If true, then the print value (usually a string) will print in diferent pages if needed, usually you set autoexpand and autocontract to true in the parent section and word wrap property to true
Declaration
public bool MultiPage { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PrintAlignment
Returns the horizontal alignment converted to an integer value
Declaration
public int PrintAlignment { get; }
Property Value
| Type | Description |
|---|---|
| int |
PrintStep
Font used when printing to Pos devices
Declaration
public PrintStepType PrintStep { get; set; }
Property Value
| Type | Description |
|---|---|
| PrintStepType |
RightToLeft
RightToLeft for arabic texts
Declaration
public bool RightToLeft { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SingleLine
Will force printing of text in a single line even if it contains line feeds.
Declaration
public bool SingleLine { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Transparent
If false a background color (Back Color) will be used for the text
Declaration
public bool Transparent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Type1Font
Font used when exporting to Adobe PDF file format
Declaration
public PDFFontType Type1Font { get; set; }
Property Value
| Type | Description |
|---|---|
| PDFFontType |
VAlignment
Vertical alignment for the text inside the box defined by the component. The text can be aligned top (also None), bottom and Center..
Declaration
public TextAlignVerticalType VAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignVerticalType |
VPrintAlignment
Returns the vertical alignment converted to an integer value
Declaration
[JsonIgnore]
[JsonIgnore]
public int VPrintAlignment { get; }
Property Value
| Type | Description |
|---|---|
| int |
WFontName
Font family name for Microsoft Windows operating system
Declaration
public string WFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WordBreak
Still not implemented, for future use, to break words when they not fit on single line
Declaration
public bool WordBreak { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WordWrap
Will break the sentences in more lines if the lines does not fit in current box width
Declaration
public bool WordWrap { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |