IPatch Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPatch Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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.

CoClasses that implement IPatch

CoClasses and 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.