Interface ITagPaintingProperties
This interface provides the properties used when painting tags in the document.
Namespace: SdlSdl.DesktopEditorEditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public interface ITagPaintingProperties
Properties
BackgroundColor1
The background color to start painting the tag with. The tag will start with this color and gradually change into BackgroundColor2.
Declaration
Color BackgroundColor1 { get; set; }
Property Value
Type | Description |
---|---|
Color |
BackgroundColor2
The background color the finish painting the tag with. The tag will start with BackgroundColor1 and finish with this color.
Declaration
Color BackgroundColor2 { get; set; }
Property Value
Type | Description |
---|---|
Color |
GhostBackgroundColor
The color that will be used to paint the tag when it is a ghost tag.
Declaration
Color GhostBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
OutlineColor
The color that will be used to paint the tag border.
Declaration
Color OutlineColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TextColor
The color that will be used to paint the text that appears within the tag.
Declaration
Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TextFormatting
The font that will be used for the text within the tag.
Declaration
FontStyle TextFormatting { get; set; }
Property Value
Type | Description |
---|---|
FontStyle |
Methods
PopulateFromSettingsGroup(ISettingsGroup, string)
Populates this object with the settings contained in the provided settings group.
Declaration
void PopulateFromSettingsGroup(ISettingsGroup settingsGroup, string settingId)
Parameters
Type | Name | Description |
---|---|---|
ISettingsGroup | settingsGroup | The settings to populate from. |
string | settingId | The setting ID to use to save the settings. |
SaveToSettingsGroup(ISettingsGroup, string)
Saves the current state of this object to the provided settings group.
Declaration
void SaveToSettingsGroup(ISettingsGroup settingsGroup, string settingId)
Parameters
Type | Name | Description |
---|---|---|
ISettingsGroup | settingsGroup | The settings group to save to. |
string | settingId | The setting ID to use to load the settings. |