Gets or sets a value controlling the display of marker symbols in 3D mode.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public bool BillboardSymbols { get; set; }
Visual Basic (Declaration)
Public Property BillboardSymbols As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if marker symbols are billboarded; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

This property is only applicable to a Renderer which uses marker symbols. It allows control over the display of the marker symbol in 3 Dimensions. If set to true, marker symbols will be displayed upright and facing forward, at right angles to the horizon. If set to false, the marker will be displayed lying flat, parallel with the horizon.

Examples

The code below illustrates how to use the BillboardSymbols property to specify billboarding for a road hazards feature layer.
CopyC#
//Create a DataSourceProperties object that holds connection information for road hazards in the forestry geodatabase
DataSourceProperties featureLayerDataSourceProps = new DataSourceProperties(@"C:\Data\Forestry.gdb", "road_hazards");
//Create a feature layer referencing the road hazards
FeatureLayer featureLayer = new FeatureLayer(featureLayerDataSourceProps);
//Connect the layer to the data
if (featureLayer.Connect())
{
  //If the connection was successful
  //Set hazards to use a red warning symbol
  featureLayer.Renderer.SetSymbol(Symbol.Marker.Transportation.WarningRed);
  //Specify that the symbols stand upright in 3D
  featureLayer.Renderer.BillboardSymbols = true;
  //Add layer to the map
  ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.ChildItems.Add(featureLayer);
}
CopyVB.NET
'Create a DataSourceProperties object that holds connection information for road hazards in the forestry geodatabase
Dim featureLayerDataSourceProps As New DataSourceProperties("C:\Data\Forestry.gdb", "road_hazards")
'Create a feature layer referencing the road hazards
Dim featureLayer As New FeatureLayer(featureLayerDataSourceProps)
'Connect the layer to the data
If featureLayer.Connect() Then
  'If the connection was successful
  'Set hazards to use a red warning symbol
  featureLayer.Renderer.SetSymbol(Symbol.Marker.Transportation.WarningRed)
  'Specify that the symbols stand upright in 3D
  featureLayer.Renderer.BillboardSymbols = True
  'Add layer to the map
  ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.ChildItems.Add(featureLayer)
End If

See Also