ArcGIS Enterprise SDK
IPatch Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.ArcGIS.Carto > Interfaces > IP > IPatch Interface
ArcGIS Developer Help

IPatch Interface

Provides access to members that work with a legend patch.


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


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.