Glossary Item Box
With this property you can load a background map by a string in JSON format.
Visual Basic example:
Dim jsonStr As String = ""
jsonStr += "{" & vbCrLf
jsonStr += " ""Type"": ""BackGroundMap""," & vbCrLf
jsonStr += " ""Items"": [" & vbCrLf
jsonStr += " {""IniPosX"": 1, ""IniPosY"": 1, ""EndPosX"": 4, ""EndPosY"": 4, ""BackColorHTML"": ""#FF3366""}," & vbCrLf
jsonStr += " {""IniPosX"": 5, ""IniPosY"": 5, ""EndPosX"": 10, ""EndPosY"": 7, ""BackColorHTML"": ""#3333CC""}," & vbCrLf
jsonStr += " {""IniPosX"": 3, ""IniPosY"": 10, ""EndPosX"": 15, ""EndPosY"": 13, ""BackColorHTML"": ""#66ff99""}" & vbCrLf
jsonStr += " ]" & vbCrLf
jsonStr += "}" & vbCrLf
PsysGridMap1.BackgroundMapJSON = jsonStr
PsysGridMap1.Redraw()
See Also |
|
BackColor | BackgroundImage | BackgroundImageLayout | BackgroundMapXML | CellHeight | CellWidth | CellsTitleAlign | ContentBackColor | DraggingActive | MapBackColor | MapBackgroundImage | MapBackgroundImageLayout | MapBorderColor | TotalCellsX | TotalCellsY | ViewCellsTitle