Class MapServerLegendPatchClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[Guid("5CDB8B58-B82B-4364-975A-6767F99859E1")]
[ClassInterface(ClassInterfaceType.None)]
public class MapServerLegendPatchClass : MapServerLegendPatch, IMapServerLegendPatch, IXMLSerialize, IPersistStream, IPersist
Inheritance
MapServerLegendPatchClass
Implements
Inherited Members

Constructors

MapServerLegendPatchClass()

public MapServerLegendPatchClass()

Explicit Interface Implementations

AreaPatch

The area patch.

virtual IAreaPatch AreaPatch { get; set; }

Returns

IAreaPatch

Remarks

Assign a custom shape to the symbol such as a triangle or rounded polygon.

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

LinePatch

The line patch.

virtual ILinePatch LinePatch { get; set; }

Returns

ILinePatch

Remarks

Assign a custom line shape to the symbol such as a zigzag line.

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

PatchHeight

The patch height (in points).

virtual double PatchHeight { get; set; }

Returns

double

Remarks

Changing the size of the legend patch will not change the size of the symbol. It only changes the size of the patch surrounding the symbol. The size of the symbol is determined by the properties of the symbol itself. The symbol will increase in size if AreaPatch or LinePatch are used. A size should be specified. Entering 0 may lead to unexpected results.

PatchResolution

The patch resolution (dots per inch).

virtual double PatchResolution { get; set; }

Returns

double

PatchWidth

The patch width (in points).

virtual double PatchWidth { get; set; }

Returns

double

Remarks

Changing the size of the legend patch will not change the size of the symbol. It only changes the size of the patch surrounding the symbol. The size of the symbol is determined by the properties of the symbol itself. The symbol will increase in size if AreaPatch or LinePatch are used. A size should be specified. Entering 0 may lead to unexpected results.

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData