Show / Hide Table of Contents

Class InlineImageCache.CacheItem

Item of image cache Dictionary

Inheritance
System.Object
InlineImageCache.CacheItem
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Utils
Assembly: FastReport.OpenSource.dll
Syntax
public class CacheItem : IDisposable

Properties

Base64

Get Base64 string

Declaration
public string Base64 { get; }
Property Value
Type Description
System.String

Error

Return true if has some error with Image

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

Image

Get Image

Declaration
public Image Image { get; }
Property Value
Type Description
Image

Stream

Get byte array

Declaration
public byte[] Stream { get; }
Property Value
Type Description
System.Byte[]

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

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

GetErrorImage()

Return error image and set true to error property

Declaration
public Image GetErrorImage()
Returns
Type Description
Image

Set(Image)

Set value for cache item

Declaration
public void Set(Image img)
Parameters
Type Name Description
Image img

Image

Set(Byte[])

Set value for cache item

Declaration
public void Set(byte[] arr)
Parameters
Type Name Description
System.Byte[] arr

Image

Set(String)

Set value for cache item

Declaration
public void Set(string base64)
Parameters
Type Name Description
System.String base64

Image encoded base64 string

Implements

System.IDisposable
Back to top Generated by DocFX