| 77 | |
| 78 | == Addendum == |
| 79 | Another APIs are added into MgLayerBase.[[BR]] |
| 80 | |
| 81 | {{{ |
| 82 | ////////////////////////////////////////////////////////////////// |
| 83 | /// \brief |
| 84 | /// Gets the layer's resource content. |
| 85 | /// |
| 86 | /// <!-- Syntax in .Net, Java, and PHP --> |
| 87 | /// \htmlinclude DotNetSyntaxTop.html |
| 88 | /// string GetLayerResourceContent(); |
| 89 | /// \htmlinclude SyntaxBottom.html |
| 90 | /// \htmlinclude JavaSyntaxTop.html |
| 91 | /// String GetLayerResourceContent(); |
| 92 | /// \htmlinclude SyntaxBottom.html |
| 93 | /// \htmlinclude PHPSyntaxTop.html |
| 94 | /// string GetLayerResourceContent(); |
| 95 | /// \htmlinclude SyntaxBottom.html |
| 96 | /// |
| 97 | /// \return |
| 98 | /// Returns the resource content of the layer. |
| 99 | /// |
| 100 | /// <!-- Example (PHP) --> |
| 101 | /// \htmlinclude PHPExampleTop.html |
| 102 | /// See \link MgMapBase MgMapBase class \endlink. |
| 103 | /// \htmlinclude ExampleBottom.html |
| 104 | /// |
| 105 | virtual STRING GetLayerResourceContent(); /// __get, __set |
| 106 | |
| 107 | ////////////////////////////////////////////////////////////////// |
| 108 | /// \brief |
| 109 | /// Sets the resource content for this layer. |
| 110 | /// |
| 111 | /// \note |
| 112 | /// If you change the layer's resource content, you must also |
| 113 | /// change the cached scale ranges and force an update of any |
| 114 | /// layer metadata held in the DWF Viewer's eMap. |
| 115 | /// |
| 116 | /// <!-- Syntax in .Net, Java, and PHP --> |
| 117 | /// \htmlinclude DotNetSyntaxTop.html |
| 118 | /// void SetLayerResourceContent(string resourceContent); |
| 119 | /// \htmlinclude SyntaxBottom.html |
| 120 | /// \htmlinclude JavaSyntaxTop.html |
| 121 | /// void SetLayerResourceContent(String resourceContent); |
| 122 | /// \htmlinclude SyntaxBottom.html |
| 123 | /// \htmlinclude PHPSyntaxTop.html |
| 124 | /// void SetLayerResourceContent(string resourceContent); |
| 125 | /// \htmlinclude SyntaxBottom.html |
| 126 | /// |
| 127 | /// \param resourceContent (STRING) |
| 128 | /// The xml content of the layer's resource content. |
| 129 | /// |
| 130 | /// \return |
| 131 | /// Returns nothing. |
| 132 | /// |
| 133 | virtual void SetLayerResourceContent(CREFSTRING resourceContent); |
| 134 | }}} |