Glossary Item Box

BackColorBackgroundImageBackgroundImageLayoutBackgroundMapJSONCellHeightCellWidthCellsTitleAlignContentBackColorDraggingActiveMapBackColorMapBackgroundImageMapBackgroundImageLayoutMapBorderColorTotalCellsXTotalCellsYViewCellsTitle

See Also VS GridMap Help Send Feedback

BackgroundMapXML

Property BackgroundMapXML (type String)

Set/Get background map in XML format.

With this property you can load a background map by a string in XML format.

 

Visual Basic example:

Dim xmlStr As String
xmlStr = ""
xmlStr += "<?xml version=""1.0"" encoding=""utf-16""?>" & vbCrLf
xmlStr += "<clsBackgroundGrid xmlns:xsi=""https://w3.org/2001/XMLSchema-instance"" xmlns:xsd=""https://w3.org/2001/XMLSchema"">" & vbCrLf
xmlStr += "  <Type>BackgroundGrid</Type>" & vbCrLf
xmlStr += "  <Items>" & vbCrLf
xmlStr += "    <clsBackgroundGridItem>" & vbCrLf
xmlStr += "      <IniPosX>1</IniPosX>" & vbCrLf
xmlStr += "      <IniPosY>1</IniPosY>" & vbCrLf
xmlStr += "      <EndPosX>4</EndPosX>" & vbCrLf
xmlStr += "      <EndPosY>3</EndPosY>" & vbCrLf
xmlStr += "      <BackColorHTML>#ff6699</BackColorHTML>" & vbCrLf
xmlStr += "    </clsBackgroundGridItem>" & vbCrLf
xmlStr += "    <clsBackgroundGridItem>" & vbCrLf
xmlStr += "      <IniPosX>4</IniPosX>" & vbCrLf
xmlStr += "      <IniPosY>1</IniPosY>" & vbCrLf
xmlStr += "      <EndPosX>5</EndPosX>" & vbCrLf
xmlStr += "      <EndPosY>5</EndPosY>" & vbCrLf
xmlStr += "      <BackColorHTML>#cc6600</BackColorHTML>" & vbCrLf
xmlStr += "    </clsBackgroundGridItem>" & vbCrLf
xmlStr += "  </Items>" & vbCrLf
xmlStr += "</clsBackgroundGrid>" & vbCrLf
PsysGridMap1.BackgroundMapXML = xmlStr
PsysGridMap1.Redraw()

 

BackColorBackgroundImageBackgroundImageLayoutBackgroundMapJSONCellHeightCellWidthCellsTitleAlignContentBackColorDraggingActiveMapBackColorMapBackgroundImageMapBackgroundImageLayoutMapBorderColorTotalCellsXTotalCellsYViewCellsTitle