This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface > IGraphicTracker.SetTransparency Method (ArcObjects .NET 10.4 SDK) |
Sets the transparency for the given graphic.
[Visual Basic .NET] Public Sub SetTransparency ( _ ByVal id As Integer, _ ByVal lTransparency As Integer _ )
[C#] public void SetTransparency ( int id, int lTransparency );
[C++]
HRESULT SetTransparency(
long id,
long lTransparency
);
[C++]
Parameters id [in] id is a parameter of type long lTransparency [in] lTransparency is a parameter of type long
Sets the graphic to be transparent or not. This is used only in 2D mode and only if the graphic's symbol supports ISymbolEffects.