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


IOverposterOptions.StackLabel Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOverposterOptions Interface > IOverposterOptions.StackLabel Method
ArcGIS Developer Help

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,
  Boolean* stacked,
  System.String* labelOut
);
[C++]
Parameters
layerProps [in]

layerProps is a parameter of type ILabelEngineLayerProperties* forceStack [in]
forceStack is a parameter of type bool labelIn [in]
labelIn is a parameter of type BSTR stacked [out]
stacked is a parameter of type 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