Search Results for

    Show / Hide Table of Contents

    Interface ILineRule

    A style rule for the line geometry type

    Inherited Members
    IBasicVectorRule.Label
    IVectorRule.LegendLabel
    IVectorRule.Filter
    Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface ILineRule : IBasicVectorRule, IVectorRule

    Properties

    | Improve this Doc View Source

    StrokeCount

    Gets the number of strokes in this line rule

    Declaration
    int StrokeCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Strokes

    Gets the symbolization settings for this line rule

    Declaration
    IEnumerable<IStroke> Strokes { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IStroke>

    Methods

    | Improve this Doc View Source

    AddStroke(IStroke)

    Adds a stroke to this rule

    Declaration
    void AddStroke(IStroke stroke)
    Parameters
    Type Name Description
    IStroke stroke
    | Improve this Doc View Source

    RemoveStroke(IStroke)

    Removes a stroke from this rule

    Declaration
    void RemoveStroke(IStroke stroke)
    Parameters
    Type Name Description
    IStroke stroke
    | Improve this Doc View Source

    SetStrokes(IEnumerable<IStroke>)

    Removes any existing strokes and adds the specified list of strokes

    Declaration
    void SetStrokes(IEnumerable<IStroke> strokes)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<IStroke> strokes
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng