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


IDynamicCompoundMarker2.DrawScreenArrayMarker Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicCompoundMarker2 Interface > IDynamicCompoundMarker2.DrawScreenArrayMarker Method
ArcGIS Developer Help

IDynamicCompoundMarker2.DrawScreenArrayMarker Method

Draws a marker in a specific point on the screen with text matricies around it.

[Visual Basic .NET]
Public Sub DrawScreenArrayMarker ( _
    ByVal Point As IPoint, _
    ByRef textCenter As String[]&, _
    ByRef textLeft As String[]&, _
    ByRef textRight As String[]&, _
    ByRef textTop As String[]&, _
    ByRef textBottom As String[]& _
)
[C#]
public void DrawScreenArrayMarker (
    IPoint Point,
    ref String[]& textCenter,
    ref String[]& textLeft,
    ref String[]& textRight,
    ref String[]& textTop,
    ref String[]& textBottom
);
[C++]
HRESULT DrawScreenArrayMarker(
  IPoint* Point,
  SAFEARRAY(System.String)* textCenter,
  SAFEARRAY(System.String)* textLeft,
  SAFEARRAY(System.String)* textRight,
  SAFEARRAY(System.String)* textTop,
  SAFEARRAY(System.String)* textBottom
);
[C++]
Parameters
Point [in]

Point is a parameter of type IPoint* textCenter [in]
textCenter is a parameter of type SAFEARRAY(BSTR)* textLeft [in]
textLeft is a parameter of type SAFEARRAY(BSTR)* textRight [in]
textRight is a parameter of type SAFEARRAY(BSTR)* textTop [in]
textTop is a parameter of type SAFEARRAY(BSTR)* textBottom [in]
textBottom is a parameter of type SAFEARRAY(BSTR)*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Draw an array of text labels column on each of the five marker�s regions: center, left, right, top, bottom. The location of the marker is given in screen (pixel) coordinates. The origin of the screen is the lower left corner of the screen, while x values are growing towards the right, and y values are growing towards up.

See Also

IDynamicCompoundMarker2 Interface

.NET Samples

Dynamic biking