Interface IWatermark
A watermark instance used in a map definition or layer definition
Namespace: OSGeo.MapGuide.ObjectModels.WatermarkDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IWatermark
Properties
| Improve this Doc View SourceAppearanceOverride
If specified, overrides the appearance of the watermark definition
Declaration
IWatermarkAppearance AppearanceOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| IWatermarkAppearance |
Name
Gets or sets the name of the watermark
Declaration
string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PositionOverride
If specified, overrides the position of the watermark definition
Declaration
IPosition PositionOverride { get; set; }
Property Value
| Type | Description |
|---|---|
| IPosition |
ResourceId
Gets or sets a library reference to an existing WatermarkDefinition
Declaration
string ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Usage
Gets or sets the context in which the watermark is displayed.
Declaration
UsageType Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| UsageType |
Methods
| Improve this Doc View SourceCreateDefaultAppearance()
Creates the default appearance.
Declaration
IWatermarkAppearance CreateDefaultAppearance()
Returns
| Type | Description |
|---|---|
| IWatermarkAppearance |
CreateDefaultTilePosition()
Creates the default tile position.
Declaration
ITilePosition CreateDefaultTilePosition()
Returns
| Type | Description |
|---|---|
| ITilePosition |
CreateDefaultXYPosition()
Creates the default XY position.
Declaration
IXYPosition CreateDefaultXYPosition()
Returns
| Type | Description |
|---|---|
| IXYPosition |