Interface IPluginData
Defines properties and methods that provide information about the main application.
Namespace: DesktopMagicPluginAPI
Assembly: DesktopMagicPluginAPI.dll
Syntax
public interface IPluginData
Properties
| Improve this Doc View SourceColor
Gets the current color of the current theme.
Declaration
[Obsolete("Use the \"Theme\" property instead")]
Color Color { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
Font
Gets the current font of the current theme.
Declaration
[Obsolete("Use the \"Theme\" property instead")]
string Font { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PluginName
Gets the name of the plugin.
Declaration
string PluginName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PluginPath
Gets the path of the parent directory of the plugin.
Declaration
string PluginPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Theme
Gets the current theme setting of the main application.
Declaration
ITheme Theme { get; }
Property Value
| Type | Description |
|---|---|
| ITheme |
WindowPosition
Gets the window position of the plugin window.
Declaration
Point WindowPosition { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Point |
WindowSize
Gets the window size of the plugin window.
Declaration
Size WindowSize { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Size |
Methods
| Improve this Doc View SourceUpdateWindow()
Updates the plugin window.
Declaration
void UpdateWindow()