diff --git a/API_GeoSnap.cpp b/API_GeoSnap.cpp index b587cb4..33ad514 100644 --- a/API_GeoSnap.cpp +++ b/API_GeoSnap.cpp @@ -530,6 +530,19 @@ __stdcall EgtTextGetContent( int nId, wchar_t*& wsText) return (( wsText == nullptr) ? FALSE : TRUE) ; } +//---------------------------------------------------------------------------- +BOOL +__stdcall EgtTextGetFont( int nId, wchar_t*& wsFont) +{ + if ( &wsFont == nullptr) + return FALSE ; + string sFont ; + if ( ! ExeTextGetFont( nId, sFont)) + return FALSE ; + wsFont = _wcsdup( stringtoW( sFont)) ; + return (( wsFont == nullptr) ? FALSE : TRUE) ; +} + //------------------------------------------------------------------------------- BOOL __stdcall EgtPointToIdGlob( double ptP[3], int nId) diff --git a/EgtInterface.rc b/EgtInterface.rc index 2b759d0..782ca73 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ