Namespace: Consultingwerk.Windows.Util
Class 
ImageCache Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Util.IImageCache, Ccs.Common.IService

File:ImageCache
Purpose:Service that provides caching for the ImageHelper:Load
method
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jul 18 20:07:40 CEST 2018
Notes:Loads .resx files specified in the .applicationsettingsfile,
either from the character value "LoadImageResources" or
the file names specified in the JSON Object:
"LoadImageResources": {
"1": "first filename.resx",
"2": "second filename.resx"
}
Checks and loads file names with index 0 to 100
https://documentation.consultingwerkcloud.com/display/SCL/Using+.resx+Files+to+cache+image+files
Supports custom logentry types ImageCache:2 and ImageCache:3



Top Method Summary
Options Name Purpose
+ dispose () Destroy/Shutdown/Anti-Initializer
+ System.Drawing.Bitmap GetImage (character) Returns a cached image, e.g. from a .resx file
+ initialize () Initializer/Startup
+ LoadResourceFile (character) Loads a Resource File


Method Detail
Top

PUBLIC dispose ()

Purpose: Destroy/Shutdown/Anti-Initializer
Notes:

Top

PUBLIC System.Drawing.Bitmap GetImage (character)

Purpose: Returns a cached image, e.g. from a .resx file
Notes:

Parameters:
pcFileName CHARACTER
The name of the image file
Returns System.Drawing.Bitmap
The image reference
Top

PUBLIC initialize ()

Purpose: Initializer/Startup
Notes:

Top

PUBLIC LoadResourceFile (character)

Purpose: Loads a Resource File
Notes:

Parameters:
pcFileName CHARACTER
The name of the Resource File to load


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 19:13:17