Property SceneSizeUnit
SceneSizeUnit
Gets or sets the size unit of the symbol when rendered in a Scene.
Declaration
public SymbolSizeUnits SceneSizeUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| SymbolSizeUnits | The size unit of the symbol when rendered in a Scene. |
Remarks
This property defines the units used for symbol sizing in a Scene. It influences both the rendering of the symbol and the measurement units for the symbol's size properties and its constituent symbol layers.
If the value is Dips, the symbol is rendered using device-independent pixels (DIPs), maintaining a consistent size in screen space regardless of the scale or camera's distance. The symbol appears the same size on the screen no matter how far it is from the camera. All size-related properties are interpreted in DIPs.
If the value is Meters, the symbol is rendered using meters, maintaining a consistent size in world space regardless of zoom level. As a result, the symbol appears smaller when viewed from farther away and larger when viewed up close, preserving its real-world dimensions. All size-related properties are interpreted in meters. Note that due to rendering limitations in 3D, only ModelSymbolLayer can be drawn using meters. Other symbol layer types fall back to render using DIPs.
The default value is Dips, meaning that the symbol is drawn and measured using DIPs. When symbols are read from sources such as web scenes, mobile scene packages, scene services, or scene layer packages that do not define this property, its value is automatically inferred based on the symbol type.
Note that this property is not supported for symbols in a Map and that changing it in that context has no effect. It is, however, supported for both 2D and 3D symbols in a Scene.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |