Search Results for

    Show / Hide Table of Contents

    Struct TextObjectStruct

    This structure is used to store information about a block of text properties, alignment and content, it is used by some functions to measure texts or pass text and format information in a single variable

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public struct TextObjectStruct

    Fields

    Alignment

    Text alignment as an integer

    Declaration
    public int Alignment
    Field Value
    Type Description
    int

    CutText

    Flag to indicate if the text must be clip to the box

    Declaration
    public bool CutText
    Field Value
    Type Description
    bool

    FontColor

    Font color

    Declaration
    public int FontColor
    Field Value
    Type Description
    int

    FontRotation

    Font rotation

    Declaration
    public short FontRotation
    Field Value
    Type Description
    short

    FontSize

    Font size

    Declaration
    public short FontSize
    Field Value
    Type Description
    short

    FontStyle

    Font style as a short

    Declaration
    public short FontStyle
    Field Value
    Type Description
    short

    LFontName

    Family name of the font when the text is drawn in Linux

    Declaration
    public string LFontName
    Field Value
    Type Description
    string

    PrintStep

    Print step, for dot matrix printers

    Declaration
    public PrintStepType PrintStep
    Field Value
    Type Description
    PrintStepType

    RightToLeft

    Flag to indicate if the text must be dran right to left

    Declaration
    public bool RightToLeft
    Field Value
    Type Description
    bool

    Text

    Text content

    Declaration
    public string Text
    Field Value
    Type Description
    string

    Type1Font

    Font type when exporting to Adobe PDF

    Declaration
    public PDFFontType Type1Font
    Field Value
    Type Description
    PDFFontType

    WFontName

    Family name of the font when the text is drawn in Microsoft Windows

    Declaration
    public string WFontName
    Field Value
    Type Description
    string

    WordWrap

    Flag to indicate if the text must wrap multiple lines

    Declaration
    public bool WordWrap
    Field Value
    Type Description
    bool

    Methods

    FromMetaObjectText(MetaPage, MetaObjectText)

    Returns a TextObjectStruct from a MetaObject

    Declaration
    public static TextObjectStruct FromMetaObjectText(MetaPage apage, MetaObjectText aobj)
    Parameters
    Type Name Description
    MetaPage apage

    Parent page of the MetaObject

    MetaObjectText aobj

    MetaObject with data

    Returns
    Type Description
    TextObjectStruct
    In this article
    Back to top Generated by DocFX