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