Glossary Item Box
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()
See Also |
|
BackColor | BackgroundImage | BackgroundImageLayout | BackgroundMapJSON | CellHeight | CellWidth | CellsTitleAlign | ContentBackColor | DraggingActive | MapBackColor | MapBackgroundImage | MapBackgroundImageLayout | MapBorderColor | TotalCellsX | TotalCellsY | ViewCellsTitle