Click or drag to resize

ResourceImageProxy Class

Holds an image that is resolved from an application resource.
Inheritance Hierarchy
SystemObject
  Altaxo.DrawingImageProxy
    Altaxo.DrawingResourceImageProxy

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[SerializableAttribute]
public class ResourceImageProxy : ImageProxy

The ResourceImageProxy type exposes the following members.

Properties
 NameDescription
Public propertyContentHash Gets a string that is unique for the content of the proxy.
(Overrides ImageProxyContentHash)
Public propertyIsValid Returns true if this image proxy holds valid content.
(Overrides ImageProxyIsValid)
Public propertyName Gets the name of the instance. Can be a file name, resource name, Url etc.
(Overrides ImageProxyName)
Public propertySizeReturns the original size of the image in points (1/72 inch).
(Overrides ImageProxySize)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFromResource(String) Creates an image proxy for the specified resource key.
Public methodStatic memberFromResource(String, String) Creates an image proxy for the specified resource key using a custom display name.
Public methodGetContentStream Gets the content of the image proxy as a (library independent) stream. Any library that can read image streams can be used to convert the stream in the corresponding image.
(Overrides ImageProxyGetContentStream)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasSameContentAs Determines whether the provided image proxy has the same content as this one.
(Inherited from ImageProxy)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Converts to string.
(Overrides ImageProxyToString)
Top
See Also