This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicSymbolProperties Interface > IDynamicSymbolProperties.Smooth Property (ArcObjects .NET 10.4 SDK) |
Indicates whether the specified dynamic symbol will be smooth.
[Visual Basic .NET] Public Function get_Smooth ( _ ByVal dynamicSymbolType As esriDynamicSymbolType _ ) As Boolean
[Visual Basic .NET] Public Sub set_Smooth ( _ ByVal dynamicSymbolType As esriDynamicSymbolType, _ ByVal Smooth As Boolean _ )
[C#] public bool get_Smooth ( esriDynamicSymbolType dynamicSymbolType );
[C#] public void set_Smooth ( esriDynamicSymbolType dynamicSymbolType, bool Smooth );
[C++]
HRESULT get_Smooth(
esriDynamicSymbolType dynamicSymbolType,
VARIANT_BOOL* Smooth
);
[C++]
HRESULT put_Smooth(
esriDynamicSymbolType dynamicSymbolType,
VARIANT_BOOL Smooth
);
[C++]
Parameters dynamicSymbolType [in]
dynamicSymbolType is a parameter of type esriDynamicSymbolType Smooth [out, retval] Smooth is a parameter of type VARIANT_BOOL dynamicSymbolType [in]
dynamicSymbolType is a parameter of type esriDynamicSymbolType Smooth [in] Smooth is a parameter of type VARIANT_BOOL
This method actually applies anti-aliasing when this property is set to true. For some types of symbols, applying this property will make the symbol look better; however for some other symbols such as text symbols it might cause to look a bit blurry and will make the text hard to read.
When The Smooth property is set to true, a smooth algorithm is being applied, when the symbol is being rendered.That affects the way the symbol is rendered and scales.
Note: The smooth symbols can move smoothly on the screen (while rendered in sub-pixels), but sometimes might look blurry.