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


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

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,
  VARIANT_BOOL* translated,
  BSTR* 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 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