Click or drag to resize
IconDescriptor Class
Represents an icon that is loaded from a file path, from an embedded resource, or from a base64-encoding string.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.IntegrationApiIconDescriptor

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public class IconDescriptor

The IconDescriptor type exposes the following members.

Constructors
  NameDescription
Public methodIconDescriptor
Creates an empty icon descriptor.
Public methodIconDescriptor(Icon)
Creates an icon from an icon.
Public methodIconDescriptor(String)
Creates an icon that is loaded from the specified location.
Public methodIconDescriptor(String, String)
Creates an icon loaded from a base64-encoded string.
Top
Properties
  NameDescription
Public propertyContent
Gets the base64-encoded content of the icon.
Public propertyIsEmbedded
Returns true if the original location of this icon was an embedded resource.
Public propertyIsEmpty
Returns true if this descriptor does not actually contain an icon.
Public propertyIsValid
Returns true if the icon is available.
Public propertyOriginalLocation
Gets the location from which the icon was originally loaded from.
Top
Methods
  NameDescription
Public methodStatic memberCreate(String)
Factory method used by the spring framework
Public methodStatic memberCreate(String, String)
Factory method used by the spring framework
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIcon
Gets an instance of the icon.
Public methodGetIcon(Size)
Gets an instance of the icon with the specified size.
Public methodGetImage
Creates an image from this icon.
Public methodGetImage(Size)
Creates an image with a specific size from this icon.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Can also represent an empty icon (see IsEmpty).

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments