ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / IGraphicFactory Interface / CreateLegendPatchGraphic Method
The legend patch shape
The extent of the graphic element
The symbol to be used with the graphic (optional)
Version

CreateLegendPatchGraphic Method (IGraphicFactory)
Create a polygon or line graphic of the specified ArcGIS.Core.CIM.PatchShape using the provided extent and symbol
Syntax

Parameters

patchShape
The legend patch shape
extent
The extent of the graphic element
patchSymbol
The symbol to be used with the graphic (optional)

Return Value

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also