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


IPatch Interface (ArcObjects .NET 10.5 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

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.