Search Results for

    Show / Hide Table of Contents

    Enum WMFOptimization

    This enumeration indicates diferent optimization implementations while drawing pages (preview, web presentation or print). Microsoft .Net have an optimized graphic object, called Windows Metafile, so when the same graphic operations must be done multiple times, they can be stored in it and "played" multiple times. This is the case for example, when previewing a Report, you can go forward and backwards drawing again and again the same pages. If the engine have the capability of drawing multiple pages in the screen, like Report Manager Windows Forms preview does, the use of playing optimized windows metafiles can enhace performance, specially if the pages are dense (lot of text items). The drawbacks of playing metafiles is that they must be stored into memory, so when you optimize performance you hit memory consumption. Variant

    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.Windows.dll
    Syntax
    public enum WMFOptimization

    Fields

    Name Description
    Gdi

    Windows Metafile caching will be done, EmfType.EmfOnly Windows Metafile will be used

    Gdiplus

    Windows Metafile caching will be done, EmfType.EmfPlusDual Windows Metafile will be used

    Gdiplusonly

    Windows Metafile caching will be done, EmfType.EmfPlusOnly Windows Metafile will be used

    None

    No Windows Metafile caching will be done

    In this article
    Back to top Generated by DocFX