Search Results for

    Show / Hide Table of Contents

    Class MetaObjectText

    Text object stored in a a MetaFile, it's a fixed length record, so references to strings or streams are done throught position and sizes in page stream or MetaFile stream

    Inheritance
    object
    MetaObject
    MetaObjectText
    Inherited Members
    MetaObject.Id
    MetaObject.RECORD_SIZE_4
    MetaObject.RECORD_SIZE_3
    MetaObject.RECORD_OFFSET_3
    MetaObject.RECORD_OFFSET_4
    MetaObject.emptybuf
    MetaObject.Top
    MetaObject.Left
    MetaObject.Width
    MetaObject.Height
    MetaObject.AnnotationP
    MetaObject.AnnotationS
    MetaObject.MetaType
    MetaObject.CreateFromBuf(byte[], int, int)
    MetaObject.GetRECORD_OFFSET(int)
    MetaObject.GetRECORD_SIZE(int)
    MetaObject.GetIntHorizAlignment(TextAlignType)
    MetaObject.GetIntVertAlignment(TextAlignVerticalType)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public class MetaObjectText : MetaObject

    Constructors

    MetaObjectText()

    Declaration
    public MetaObjectText()

    Fields

    Alignment

    Integer representation of text alignment, contains vertical and horizontal alignemnt

    Declaration
    public int Alignment
    Field Value
    Type Description
    int

    BackColor

    Text background color as integer

    Declaration
    public int BackColor
    Field Value
    Type Description
    int

    CutText

    True if text must be clipped to the bounding box

    Declaration
    public bool CutText
    Field Value
    Type Description
    bool

    FontColor

    Font color as integer

    Declaration
    public int FontColor
    Field Value
    Type Description
    int

    FontRotation

    Font rotation in degrees

    Declaration
    public short FontRotation
    Field Value
    Type Description
    short

    FontSize

    Font size in points

    Declaration
    public short FontSize
    Field Value
    Type Description
    short

    FontStyle

    Integer representing the font style

    Declaration
    public short FontStyle
    Field Value
    Type Description
    short

    LFontNameP

    Linux Font Name position in MetaPage strings pool

    Declaration
    public int LFontNameP
    Field Value
    Type Description
    int

    LFontNameS

    Linux Font Name length

    Declaration
    public int LFontNameS
    Field Value
    Type Description
    int

    PrintStep

    Print step

    Declaration
    public PrintStepType PrintStep
    Field Value
    Type Description
    PrintStepType

    RightToLeft

    True if words must be drawn from right to left (Arabic languages)

    Declaration
    public bool RightToLeft
    Field Value
    Type Description
    bool

    TextP

    Text position in MetaPage strings pool

    Declaration
    public int TextP
    Field Value
    Type Description
    int

    TextS

    Text length

    Declaration
    public int TextS
    Field Value
    Type Description
    int

    Transparent

    True if background of the text must be transparent

    Declaration
    public bool Transparent
    Field Value
    Type Description
    bool

    Type1Font

    Type1Font, the type of font when exporting to Adobe PDF

    Declaration
    public PDFFontType Type1Font
    Field Value
    Type Description
    PDFFontType

    WFontNameP

    Windows Font Name position in MetaPage strings pool

    Declaration
    public int WFontNameP
    Field Value
    Type Description
    int

    WFontNameS

    Linux Font Name length

    Declaration
    public int WFontNameS
    Field Value
    Type Description
    int

    WordWrap

    True if words must wrap multiple lines if the text does not fit in the bounding box width

    Declaration
    public bool WordWrap
    Field Value
    Type Description
    bool

    Methods

    FillFromBuf(byte[], int, int)

    Fill the values of a MetaObjectText, loading it from a binary buffer

    Declaration
    public override void FillFromBuf(byte[] buf, int index, int ver)
    Parameters
    Type Name Description
    byte[] buf

    Buffer containing information in binary format

    int index

    Index to begin read in the buffer

    int ver
    Overrides
    MetaObject.FillFromBuf(byte[], int, int)

    SaveToStream(Stream, int)

    Save the information of the object into a stream

    Declaration
    public override void SaveToStream(Stream astream, int ver)
    Parameters
    Type Name Description
    Stream astream

    Destination stream

    int ver
    Overrides
    MetaObject.SaveToStream(Stream, int)
    In this article
    Back to top Generated by DocFX