Class IconDescriptor
Inheritance
System.Object
IconDescriptor
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()
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public class IconDescriptor
Constructors
IconDescriptor()
Declaration
IconDescriptor(Icon)
Declaration
public IconDescriptor(Icon icon)
Parameters
Type |
Name |
Description |
System.Drawing.Icon |
icon |
|
IconDescriptor(String)
Declaration
public IconDescriptor(string imageLocation)
Parameters
Type |
Name |
Description |
System.String |
imageLocation |
|
IconDescriptor(String, String)
Declaration
public IconDescriptor(string originalLocation, string content)
Parameters
Type |
Name |
Description |
System.String |
originalLocation |
|
System.String |
content |
|
Properties
Content
Declaration
public string Content { get; }
Property Value
Type |
Description |
System.String |
|
IsEmbedded
Declaration
public bool IsEmbedded { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsValid
Declaration
public bool IsValid { get; }
Property Value
Type |
Description |
System.Boolean |
|
OriginalLocation
Declaration
public string OriginalLocation { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Create(String)
Declaration
public static IconDescriptor Create(string imageLocation)
Parameters
Type |
Name |
Description |
System.String |
imageLocation |
|
Returns
Create(String, String)
Declaration
public static IconDescriptor Create(string location, string content)
Parameters
Type |
Name |
Description |
System.String |
location |
|
System.String |
content |
|
Returns
GetIcon()
Declaration
Returns
Type |
Description |
System.Drawing.Icon |
|
GetIcon(Size)
Declaration
public Icon GetIcon(Size size)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
size |
|
Returns
Type |
Description |
System.Drawing.Icon |
|
GetImage()
Declaration
Returns
Type |
Description |
System.Drawing.Image |
|
GetImage(Size)
Declaration
public Image GetImage(Size size)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
size |
|
Returns
Type |
Description |
System.Drawing.Image |
|