Class RasterPropertyDefinition
Has the information needed to create or completely describe a raster property. This class encapsulates the information necessary to insert a 'new' raster, in the absence of any other information, for the properties defined using this schema element.
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Schema
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class RasterPropertyDefinition : PropertyDefinition, IFdoSerializable, IExpressionPropertySource
Constructors
| Improve this Doc View SourceRasterPropertyDefinition(String, String)
Initializes a new instance of the RasterPropertyDefinition class.
Declaration
public RasterPropertyDefinition(string name, string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | description | The description. |
Properties
| Improve this Doc View SourceDefaultImageXSize
Gets or sets the default size of image file in the horizontal direction in pixels (number of columns).
Declaration
public int DefaultImageXSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultImageYSize
Gets or sets the default size of an image file in the vertical direction in pixels (number of rows).
Declaration
public int DefaultImageYSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExpressionType
Gets the expression data type
Declaration
public override ExpressionDataType ExpressionType { get; }
Property Value
Type | Description |
---|---|
ExpressionDataType |
Overrides
| Improve this Doc View SourceIsNullable
Gets or sets whether this property's value can be null.
Declaration
public bool IsNullable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsReadOnly
Gets or sets whether this property is read-only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SpatialContextAssociation
Gets or sets the Spatial Context name associated to this raster property.
Declaration
public string SpatialContextAssociation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the type of property definition
Declaration
public override PropertyDefinitionType Type { get; }
Property Value
Type | Description |
---|---|
PropertyDefinitionType |
Overrides
Methods
| Improve this Doc View SourceReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
protected override void ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
Overrides
| Improve this Doc View SourceWriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
protected override void WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |