Interface IWatermarkCollection
Defines a collection of IWatermark instances
Namespace: OSGeo.MapGuide.ObjectModels.WatermarkDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IWatermarkCollection
Properties
| Improve this Doc View SourceWatermarkCount
Gets the number of watermarks used by this map definition
Declaration
int WatermarkCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Watermarks
Gets the watermarks used by this map definition
Declaration
IEnumerable<IWatermark> Watermarks { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IWatermark> |
Methods
| Improve this Doc View SourceAddWatermark(IWatermarkDefinition)
Adds a watermark
Declaration
IWatermark AddWatermark(IWatermarkDefinition watermarkDef)
Parameters
Type | Name | Description |
---|---|---|
IWatermarkDefinition | watermarkDef | The watermark definition to add |
Returns
Type | Description |
---|---|
IWatermark | The added watermark instance. |
RemoveWatermark(IWatermark)
Removes the specified watermark
Declaration
void RemoveWatermark(IWatermark watermark)
Parameters
Type | Name | Description |
---|---|---|
IWatermark | watermark |