menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum TYMED - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum TYMED

    The TYMED enumeration values indicate the type of storage medium being used in a data transfer.

    Namespace: Syncfusion.CompoundFile.DocIO.Native
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    [Flags]
    public enum TYMED

    Fields

    Name Description
    TYMED_ENHMF

    The storage medium is an enhanced metafile. If the STGMEDIUM punkForRelease member is NULL, the destination process should use DeleteEnhMetaFile to delete the bitmap.

    TYMED_FILE

    The storage medium is a disk file identified by a path. If the STGMEDIUM punkForRelease member is NULL, the destination process should use OpenFile to delete the file.

    TYMED_GDI

    The storage medium is a GDI component (HBITMAP). If the STGMEDIUM punkForRelease member is NULL, the destination process should use DeleteObject to delete the bitmap.

    TYMED_HGLOBAL

    The storage medium is a global memory handle (HGLOBAL). Allocate the global handle with the GMEM_SHARE flag.

    TYMED_ISTORAGE

    The storage medium is a storage component identified by an IStorage pointer.

    TYMED_ISTREAM

    The storage medium is a stream object identified by an IStream pointer. Use ISequentialStream::Read to read the data.

    TYMED_MFPICT

    The storage medium is a metafile (HMETAFILE). Use the Windows or WIN32 functions to access the metafile's data.

    TYMED_NULL

    No data is being passed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved