Search Results for

    Show / Hide Table of Contents

    Class InlineImageCache

    Cache for rendering img tags in textobject. You can use only HTTP[s] protocol with absolute urls.

    Inheritance
    System.Object
    InlineImageCache
    Namespace: FastReport.Utils
    Assembly: FastReport.Base.dll
    Syntax
    public class InlineImageCache : IDisposable

    Constructors

    InlineImageCache()

    Declaration
    public InlineImageCache()

    Properties

    Serialized

    Is serialized

    Declaration
    public bool Serialized { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AllItems()

    Enumerates all values

    Declaration
    public IEnumerable<InlineImageCache.CacheItem> AllItems()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<InlineImageCache.CacheItem>

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Finalize()

    Declaration
    protected void Finalize()

    Get(String)

    Return CacheItem by src

    Declaration
    public InlineImageCache.CacheItem Get(string src)
    Parameters
    Type Name Description
    System.String src

    Src attribute from img tag

    Returns
    Type Description
    InlineImageCache.CacheItem

    Load(String)

    Declaration
    public Image Load(string src)
    Parameters
    Type Name Description
    System.String src
    Returns
    Type Description
    Image

    Set(String, InlineImageCache.CacheItem)

    Set CacheItem by src

    Declaration
    public InlineImageCache.CacheItem Set(string src, InlineImageCache.CacheItem item)
    Parameters
    Type Name Description
    System.String src

    Src attribute from img tag

    InlineImageCache.CacheItem item

    CacheItem

    Returns
    Type Description
    InlineImageCache.CacheItem

    Validate(String)

    Validate src attribute from image

    Declaration
    public bool Validate(string src)
    Parameters
    Type Name Description
    System.String src

    Src attribute from img tag

    Returns
    Type Description
    System.Boolean

    return true if src is valid

    Events

    AfterLoad

    Occurs before image load

    Declaration
    public static event EventHandler<InlineImageCache.LoadEventArgs> AfterLoad
    Event Type
    Type Description
    System.EventHandler<InlineImageCache.LoadEventArgs>

    BeforeLoad

    Occurs after image load

    Declaration
    public static event EventHandler<InlineImageCache.LoadEventArgs> BeforeLoad
    Event Type
    Type Description
    System.EventHandler<InlineImageCache.LoadEventArgs>
    Back to top © 1998-2025 Copyright Fast Reports Inc.