Interface IPatch

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll

Provides access to members that work with a legend patch.

[Guid("BEB4EDB5-E3B4-11D2-B868-00600802E603")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPatch

Remarks

IPatch is the generic interfaces used to modify the aspect of the patches, the small lines or rectangles used to display legend classes and the text that goes with them.

Since the patches can be areas or lines two separate interfaces exist: IAreaPatch and ILinePatch, the associated objects contain geometries of different types but no specific properties or methods.

 

Properties

Geometry

Patch geometry.

IGeometry Geometry { set; }

Property Value

IGeometry

Name

Name of the patch.

string Name { get; set; }

Property Value

string

PreserveAspectRatio

Indicates if aspect ratio of patch is preserved.

bool PreserveAspectRatio { get; set; }

Property Value

bool

Methods

get_Geometry(IEnvelope)

Patch geometry sized to fit the specified bounds.

IGeometry get_Geometry(IEnvelope Bounds)

Parameters

Bounds IEnvelope

Returns

IGeometry