Glossary Item Box

BackColorBackgroundImageBackgroundImageLayoutBackgroundMapXMLCellHeightCellWidthCellsTitleAlignContentBackColorDraggingActiveMapBackColorMapBackgroundImageMapBackgroundImageLayoutMapBorderColorTotalCellsXTotalCellsYViewCellsTitle

See Also VS GridMap Help Send Feedback

BackgroundMapJSON

Property BackgroundMapJSON (type String)

Set/Get background map in JSON format.

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()

 

BackColorBackgroundImageBackgroundImageLayoutBackgroundMapXMLCellHeightCellWidthCellsTitleAlignContentBackColorDraggingActiveMapBackColorMapBackgroundImageMapBackgroundImageLayoutMapBorderColorTotalCellsXTotalCellsYViewCellsTitle