Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    SchemaElement
    PropertyDefinition
    RasterPropertyDefinition
    Implements
    IFdoSerializable
    IExpressionPropertySource
    Inherited Members
    PropertyDefinition.Parent
    PropertyDefinition.IFdoSerializable.ReadXml(XmlNode, XmlNamespaceManager)
    PropertyDefinition.IFdoSerializable.WriteXml(XmlDocument, XmlNode)
    PropertyDefinition.Parse(XmlNode, XmlNamespaceManager)
    PropertyDefinition.Clone(PropertyDefinition)
    SchemaElement.Name
    SchemaElement.Description
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.MaestroAPI.Schema
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public class RasterPropertyDefinition : PropertyDefinition, IFdoSerializable, IExpressionPropertySource

    Constructors

    | Improve this Doc View Source

    RasterPropertyDefinition(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 Source

    DefaultImageXSize

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    ExpressionType

    Gets the expression data type

    Declaration
    public override ExpressionDataType ExpressionType { get; }
    Property Value
    Type Description
    ExpressionDataType
    Overrides
    PropertyDefinition.ExpressionType
    | Improve this Doc View Source

    IsNullable

    Gets or sets whether this property's value can be null.

    Declaration
    public bool IsNullable { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsReadOnly

    Gets or sets whether this property is read-only.

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Type

    Gets the type of property definition

    Declaration
    public override PropertyDefinitionType Type { get; }
    Property Value
    Type Description
    PropertyDefinitionType
    Overrides
    PropertyDefinition.Type

    Methods

    | Improve this Doc View Source

    ReadXml(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
    PropertyDefinition.ReadXml(XmlNode, XmlNamespaceManager)
    | Improve this Doc View Source

    WriteXml(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
    Overrides
    PropertyDefinition.WriteXml(XmlDocument, XmlNode)

    Implements

    IFdoSerializable
    IExpressionPropertySource
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng