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


IOverposterOptions.StackLabel Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IOverposterOptions.StackLabel Method

Provides the option to stack a label based on the current overposter properties.

[Visual Basic .NET]
Public Sub StackLabel ( _
    ByVal layerProps As ILabelEngineLayerProperties, _
    ByVal forceStack As Boolean, _
    ByVal labelIn As String, _
    ByRef stacked As Boolean, _
    ByRef labelOut As String _
)
[C#]
public void StackLabel (
    ILabelEngineLayerProperties layerProps,
    bool forceStack,
    string labelIn,
    ref bool stacked,
    ref string labelOut
);
[C++]
HRESULT StackLabel(
  ILabelEngineLayerProperties* layerProps,
  VARIANT_BOOL forceStack,
  BSTR labelIn,
  VARIANT_BOOL* stacked,
  BSTR* labelOut
);
[C++]

Parameters layerProps [in]
layerProps is a parameter of type ILabelEngineLayerProperties forceStack [in] forceStack is a parameter of type VARIANT_BOOL labelIn [in] labelIn is a parameter of type BSTR stacked [out] stacked is a parameter of type VARIANT_BOOL labelOut [out] labelOut is a parameter of type BSTR

Product Availability

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

See Also

IOverposterOptions Interface