Search Results for

    Show / Hide Table of Contents

    Class MetaObject

    Base class for printable objects inside a MetaPage

    Inheritance
    object
    MetaObject
    MetaObjectDraw
    MetaObjectExport
    MetaObjectImage
    MetaObjectPolygon
    MetaObjectText
    Inherited Members
    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 abstract class MetaObject

    Constructors

    MetaObject()

    Declaration
    protected MetaObject()

    Fields

    AnnotationP

    Annotation position in MetaPage strings pool

    Declaration
    public int AnnotationP
    Field Value
    Type Description
    int

    AnnotationS

    Annotation length

    Declaration
    public int AnnotationS
    Field Value
    Type Description
    int

    Height

    height of the object in twips

    Declaration
    public int Height
    Field Value
    Type Description
    int

    Id

    Unique identifier used by MetaFile search functions

    Declaration
    public long Id
    Field Value
    Type Description
    long

    Left

    Left position of the object in twips

    Declaration
    public int Left
    Field Value
    Type Description
    int

    MetaType

    Type of object

    Declaration
    public MetaObjectType MetaType
    Field Value
    Type Description
    MetaObjectType

    RECORD_OFFSET_3

    Declaration
    public const int RECORD_OFFSET_3 = 17
    Field Value
    Type Description
    int

    RECORD_OFFSET_4

    Declaration
    public const int RECORD_OFFSET_4 = 25
    Field Value
    Type Description
    int

    RECORD_SIZE_3

    Declaration
    public const int RECORD_SIZE_3 = 66
    Field Value
    Type Description
    int

    RECORD_SIZE_4

    Record size, all objects share the same size

    Declaration
    public const int RECORD_SIZE_4 = 74
    Field Value
    Type Description
    int

    Top

    Top position of the object in twips

    Declaration
    public int Top
    Field Value
    Type Description
    int

    Width

    Width of the object in twips

    Declaration
    public int Width
    Field Value
    Type Description
    int

    emptybuf

    Internally used buffer

    Declaration
    protected static byte[] emptybuf
    Field Value
    Type Description
    byte[]

    Methods

    CreateFromBuf(byte[], int, int)

    Creates a MetaObject, loading it from a binary buffer

    Declaration
    public static MetaObject CreateFromBuf(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
    Returns
    Type Description
    MetaObject

    Create a MetaObject using the information in the buffer

    FillFromBuf(byte[], int, int)

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

    Declaration
    public virtual 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

    GetIntHorizAlignment(TextAlignType)

    Declaration
    public static int GetIntHorizAlignment(TextAlignType Alignment)
    Parameters
    Type Name Description
    TextAlignType Alignment
    Returns
    Type Description
    int

    GetIntVertAlignment(TextAlignVerticalType)

    Declaration
    public static int GetIntVertAlignment(TextAlignVerticalType VAlignment)
    Parameters
    Type Name Description
    TextAlignVerticalType VAlignment
    Returns
    Type Description
    int

    GetRECORD_OFFSET(int)

    Declaration
    public static int GetRECORD_OFFSET(int ver)
    Parameters
    Type Name Description
    int ver
    Returns
    Type Description
    int

    GetRECORD_SIZE(int)

    Declaration
    public static int GetRECORD_SIZE(int ver)
    Parameters
    Type Name Description
    int ver
    Returns
    Type Description
    int

    SaveToStream(Stream, int)

    Save the information of the object into a stream

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

    Destination stream

    int ver
    In this article
    Back to top Generated by DocFX