This document is archived and information here might be outdated.  Recommended version.


IPatch Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPatch Interface
ArcGIS Developer Help

IPatch Interface

Provides access to members that work with a legend patch.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Write-only property Geometry Patch geometry.
Method get_Geometry Patch geometry sized to fit the specified bounds.
Read/write property Name Name of the patch.
Read/write property PreserveAspectRatio Indicates if aspect ratio of patch is preserved.

Classes that implement IPatch

Classes Description
AreaPatch Classs implements an Area legend patch.
LinePatch Class implements a Line legend patch.

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.