Search Results for

    Show / Hide Table of Contents

    Class PrintItemText

    Base class for any report item containing text properties, ExpressionItem and LabelItem are examples

    Inheritance
    object
    ReportItem
    PrintItem
    PrintPosItem
    PrintItemText
    ChartItem
    ExpressionItem
    LabelItem
    Implements
    IDisposable
    Inherited Members
    PrintPosItem.Section
    PrintPosItem.AnnotationExpression
    PrintPosItem.GetExtension(PrintOut, Point, bool)
    PrintPosItem.FillAnnotation(MetaObject, MetaPage)
    PrintPosItem.Hidden
    PrintPosItem.PosX
    PrintPosItem.PosY
    PrintPosItem.Align
    PrintPosItem.PartialFlag
    PrintItem.PrintWidth
    PrintItem.PrintHeight
    PrintItem.Visible
    PrintItem.LastExtent
    PrintItem.SelectionIndex
    PrintItem.SelectionRectangle
    PrintItem.EvaluatePrintCondition()
    PrintItem.SubReportChanged(SubReportEvent, string)
    PrintItem.DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    PrintItem.Print(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    PrintItem.ExecuteBeforePrint()
    PrintItem.ExecuteAfterPrint()
    PrintItem.Width
    PrintItem.Height
    PrintItem.DoBeforePrint
    PrintItem.DoAfterPrint
    PrintItem.PrintCondition
    ReportItem.SetReport(BaseReport)
    ReportItem.GetClassName()
    ReportItem.Dispose()
    ReportItem.Name
    ReportItem.Report
    ReportItem.ClassName
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class PrintItemText : PrintPosItem, IDisposable

    Constructors

    View Source

    PrintItemText()

    Constructor

    Declaration
    public PrintItemText()

    Properties

    View Source

    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
    View Source

    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
    View Source

    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
    View Source

    FontColor

    Font color, internally stored as a quad byte 0x0BGR integer

    Declaration
    public int FontColor { get; set; }
    Property Value
    Type Description
    int
    View Source

    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
    View Source

    FontSize

    Font size in standard points unit, that is 72 points=1 inchess

    Declaration
    public short FontSize { get; set; }
    Property Value
    Type Description
    short
    View Source

    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
    View Source

    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
    View Source

    IsHtml

    Declaration
    public bool IsHtml { get; set; }
    Property Value
    Type Description
    bool
    View Source

    LFontName

    Font family name for Linux operating system

    Declaration
    public string LFontName { get; set; }
    Property Value
    Type Description
    string
    View Source

    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
    View Source

    PrintAlignment

    Returns the horizontal alignment converted to an integer value

    Declaration
    public int PrintAlignment { get; }
    Property Value
    Type Description
    int
    View Source

    PrintStep

    Font used when printing to Pos devices

    Declaration
    public PrintStepType PrintStep { get; set; }
    Property Value
    Type Description
    PrintStepType
    View Source

    RightToLeft

    RightToLeft for arabic texts

    Declaration
    public bool RightToLeft { get; set; }
    Property Value
    Type Description
    bool
    View Source

    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
    View Source

    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
    View Source

    Type1Font

    Font used when exporting to Adobe PDF file format

    Declaration
    public PDFFontType Type1Font { get; set; }
    Property Value
    Type Description
    PDFFontType
    View Source

    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
    View Source

    VPrintAlignment

    Returns the vertical alignment converted to an integer value

    Declaration
    [JsonIgnore]
    [JsonIgnore]
    public int VPrintAlignment { get; }
    Property Value
    Type Description
    int
    View Source

    WFontName

    Font family name for Microsoft Windows operating system

    Declaration
    public string WFontName { get; set; }
    Property Value
    Type Description
    string
    View Source

    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
    View Source

    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

    Methods

    View Source

    EvaluateHtmlExpressions(string)

    Replaces all {{expression}} placeholders in the given text with evaluated results using the report's Evaluator. Only intended to be called when IsHtml is true.

    Declaration
    protected string EvaluateHtmlExpressions(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    string

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX