Returns the html as text that can be used in popups.
[Visual Basic .NET] Public Function QueryHTMLPopups ( _ ByVal MapName As String, _ ByVal TableID As Integer, _ ByVal pRowIDs As ILongArray _ ) As IStringArray
[C#] public IStringArray QueryHTMLPopups ( string MapName, int TableID, ILongArray pRowIDs );
[C++]
HRESULT QueryHTMLPopups(
BSTR MapName,
long TableID,
ILongArray* pRowIDs,
IStringArray** HTMLTextArray
);
[C++]Parameters
MapName [in] MapName is a parameter of type BSTR TableID [in] TableID is a parameter of type long pRowIDs [in]pRowIDs is a parameter of type ILongArray
HTMLTextArray [out, retval]HTMLTextArray is a parameter of type IStringArray
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
An array of string. Each string represents rich html formatted attributes of a feature.
You should check MapLayerInfo.HTMLPopupType before using this function.
The html content in results are returned in the same order the OIDs are passed in. If you want to query feature based on location and get result back as rich html, you may use Identify function with esriIdentifyVisibleWithHTMLPopup or esriIdentifyTopOneWithHTMLPopup.
This function does not allow a client to format the attribute, instead it returns html content the way an author formatted the result in the source map.