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


IOverposterOptions.TranslateLabel 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.TranslateLabel Method
ArcGIS Developer Help

IOverposterOptions.TranslateLabel Method

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

[Visual Basic .NET]
Public Sub TranslateLabel ( _
    ByVal layerProps As ILabelEngineLayerProperties, _
    ByVal labelIn As String, _
    ByRef translated As Boolean, _
    ByRef labelOut As String _
)
[C#]
public void TranslateLabel (
    ILabelEngineLayerProperties layerProps,
    string labelIn,
    ref bool translated,
    ref string labelOut
);
[C++]
HRESULT TranslateLabel(
  ILabelEngineLayerProperties* layerProps,
  BSTR labelIn,
  Boolean* translated,
  System.String* labelOut
);
[C++]
Parameters
layerProps [in]

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