Search Results for

    Show / Hide Table of Contents

    Class MetaObjectImage

    Image drawing object stored in a a MetaFile, it's a fixed length record, image stream can be stored in MetaPage stream or in MetaFile stream (SharedImage=true)

    Inheritance
    object
    MetaObject
    MetaObjectImage
    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 MetaObjectImage : MetaObject

    Constructors

    MetaObjectImage()

    Declaration
    public MetaObjectImage()

    Fields

    CopyMode

    Integer CopyMode, for future use

    Declaration
    public int CopyMode
    Field Value
    Type Description
    int

    DPIRes

    Dots per inch image resolution

    Declaration
    public int DPIRes
    Field Value
    Type Description
    int

    DrawImageStyle

    Image draw style (crop, stretch, full...)

    Declaration
    public ImageDrawStyleType DrawImageStyle
    Field Value
    Type Description
    ImageDrawStyleType

    PreviewOnly

    The image should be drawn in preview only, not in printout (useful for preprinted forms)

    Declaration
    public bool PreviewOnly
    Field Value
    Type Description
    bool

    SharedImage

    If true the image is saved on MetaFile stream instead of MetaPage stream, so multiple pages can share images to save memory and to generate smaller Adobe PDF output files

    Declaration
    public bool SharedImage
    Field Value
    Type Description
    bool

    StreamPos

    Stream begin position in MetaPage or MetaFile stream

    Declaration
    public long StreamPos
    Field Value
    Type Description
    long

    StreamSize

    Stream length

    Declaration
    public long StreamSize
    Field Value
    Type Description
    long

    Methods

    FillFromBuf(byte[], int, int)

    Fill the values of a MetaObjectImage, 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