This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendPatch Interface > IMapServerLegendPatch.PatchWidth Property (ArcObjects .NET 10.4 SDK) |
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
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.