|  |  | 
 |  |  |     ximage() :xcontrol(nullptr) {} | 
 |  |  |     ximage(void* impl) :xcontrol(impl) {} | 
 |  |  | public: | 
 |  |  |     kimage GetKImage(){ | 
 |  |  |     kimage* GetKImage(){ | 
 |  |  |         return (kimage*)getNativePointer(); | 
 |  |  |     } | 
 |  |  | public: | 
 |  |  | 
 |  |  |         return GetKImage()->GetHeight(); | 
 |  |  |     } | 
 |  |  | public: | 
 |  |  |     LPCTSTR  SetUrl(LPCTSTR pServer,LPCTSTR pUrl) | 
 |  |  |     LPCTSTR  SetUrl(xstring pServer,xstring pUrl) | 
 |  |  |     { | 
 |  |  |         return GetKImage()->SetUrl(pServer,pUrl); | 
 |  |  |     } | 
 |  |  | 
 |  |  |     { | 
 |  |  |         return GetKImage()->SaveToFile(); | 
 |  |  |     } | 
 |  |  |     bool SaveToFile(LPTSTR pFile) | 
 |  |  |     bool SaveToFile(xstring  pFile) | 
 |  |  |     { | 
 |  |  |         return GetKImage()->SaveToFile(pFile); | 
 |  |  |         return GetKImage()->SaveToFile((LPTSTR)pFile.c_str()); | 
 |  |  |     } | 
 |  |  |     bool SaveToFileEx(LPTSTR pFile) | 
 |  |  |     bool SaveToFileEx(xstring pFile) | 
 |  |  |     { | 
 |  |  |         return GetKImage()->SaveToFileEx(pFile); | 
 |  |  |         return GetKImage()->SaveToFileEx((LPTSTR)pFile.c_str()); | 
 |  |  |     } | 
 |  |  |     bool LoadFromUrl(LPCTSTR pServerUrl,LPCTSTR pUrl) | 
 |  |  |     bool LoadFromUrl(xstring pServerUrl,xstring pUrl) | 
 |  |  |     { | 
 |  |  |         return GetKImage()->LoadFromUrl(pServerUrl,pUrl); | 
 |  |  |         return GetKImage()->LoadFromUrl(pServerUrl.c_str(), pUrl.c_str()); | 
 |  |  |     } | 
 |  |  | }; |