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


IMapServerLegendPatch.PatchWidth Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLegendPatch.PatchWidth Property

The patch width (in points).

[Visual Basic .NET]
Public Property PatchWidth As Double
[C#]
public double PatchWidth {get; set;}
[C++]
HRESULT get_PatchWidth(
  double* widthPts
);
[C++]
HRESULT put_PatchWidth(
  double widthPts
);
[C++]

Parameters widthPts [out, retval] widthPts is a parameter of type double widthPts [in] widthPts is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Changing the size of the legend patch will not change the size of the symbol. It only changes the size of the patch surrounding the symbol. The size of the symbol is determined by the properties of the symbol itself. The symbol will increase in size if AreaPatch or LinePatch are used. A size should be specified. Entering 0 may lead to unexpected results.

See Also

IMapServerLegendPatch Interface