IPatch Interface

Provides access to members that work with a legend patch.

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.

IPatch.Geometry Property

Patch geometry.

Public WriteOnly Property Geometry
public void Geometry {set;}

IPatch.Name Property

Name of the patch.

Public Property Name As String
public string Name {get; set;}

IPatch.PreserveAspectRatio Property

Indicates if aspect ratio of patch is preserved.

Public Property PreserveAspectRatio As Boolean
public bool PreserveAspectRatio {get; set;}

Classes that implement IPatch

Classes Description

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.