⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pclient.tli

📁 GemoMedia 应用 演示了其使用方法
💻 TLI
📖 第 1 页 / 共 5 页
字号:
inline _bstr_t _DGMNewFileDialog::GetDefaultTemplate ( ) {
    BSTR _result;
    HRESULT _hr = get_DefaultTemplate(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(202)
inline void _DGMNewFileDialog::PutDocumentClassID ( _bstr_t docClassID ) {
    HRESULT _hr = put_DocumentClassID(docClassID);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(203)
inline _bstr_t _DGMNewFileDialog::GetDocumentClassID ( ) {
    BSTR _result;
    HRESULT _hr = get_DocumentClassID(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(204)
inline void _DGMNewFileDialog::PutFileName ( _bstr_t FileName ) {
    HRESULT _hr = put_FileName(FileName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(205)
inline _bstr_t _DGMNewFileDialog::GetFileName ( ) {
    BSTR _result;
    HRESULT _hr = get_FileName(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(206)
inline void _DGMNewFileDialog::PutFilter ( _bstr_t Filter ) {
    HRESULT _hr = put_Filter(Filter);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(207)
inline _bstr_t _DGMNewFileDialog::GetFilter ( ) {
    BSTR _result;
    HRESULT _hr = get_Filter(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(208)
inline void _DGMNewFileDialog::PutIsTemplate ( VARIANT_BOOL IsTemplate ) {
    HRESULT _hr = put_IsTemplate(IsTemplate);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(209)
inline VARIANT_BOOL _DGMNewFileDialog::GetIsTemplate ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_IsTemplate(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(210)
inline void _DGMNewFileDialog::PutUserTemplatePath ( _bstr_t UserTemplatePath ) {
    HRESULT _hr = put_UserTemplatePath(UserTemplatePath);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(211)
inline _bstr_t _DGMNewFileDialog::GetUserTemplatePath ( ) {
    BSTR _result;
    HRESULT _hr = get_UserTemplatePath(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

#pragma implementation_key(212)
inline HRESULT _DGMNewFileDialog::Show ( ) {
    HRESULT _hr = raw_Show();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

//
// interface _DGMGeometryDigitizeService wrapper method implementations
//

#pragma implementation_key(213)
inline long _DGMGeometryDigitizeService::GetGeometryCount ( ) {
    long _result;
    HRESULT _hr = get_GeometryCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(214)
inline void _DGMGeometryDigitizeService::PutRefMapView ( IDispatch * returnValue ) {
    HRESULT _hr = putref_MapView(returnValue);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(215)
inline IDispatchPtr _DGMGeometryDigitizeService::GetMapView ( ) {
    IDispatch * _result;
    HRESULT _hr = get_MapView(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(216)
inline long _DGMGeometryDigitizeService::AppendGeometry ( IDispatch * Geometry, IDispatch * geometryStyle, const _variant_t & keyPointStyle, const _variant_t & isEmpty ) {
    long _result;
    HRESULT _hr = raw_AppendGeometry(Geometry, geometryStyle, keyPointStyle, isEmpty, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(217)
inline IDispatchPtr _DGMGeometryDigitizeService::GetGeometry ( long Index ) {
    IDispatch * _result;
    HRESULT _hr = raw_GetGeometry(Index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(218)
inline HRESULT _DGMGeometryDigitizeService::RemoveGeometry ( const _variant_t & Item ) {
    HRESULT _hr = raw_RemoveGeometry(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(219)
inline HRESULT _DGMGeometryDigitizeService::RemoveAllGeometries ( ) {
    HRESULT _hr = raw_RemoveAllGeometries();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(220)
inline HRESULT _DGMGeometryDigitizeService::DynamicPoint ( struct _DGMPoint * point, const _variant_t & Item ) {
    HRESULT _hr = raw_DynamicPoint(point, Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(221)
inline HRESULT _DGMGeometryDigitizeService::AppendPoint ( struct _DGMPoint * point, const _variant_t & Item ) {
    HRESULT _hr = raw_AppendPoint(point, Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(222)
inline HRESULT _DGMGeometryDigitizeService::RemoveLastPoint ( const _variant_t & Item ) {
    HRESULT _hr = raw_RemoveLastPoint(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(223)
inline HRESULT _DGMGeometryDigitizeService::RemoveAllPoints ( const _variant_t & Item ) {
    HRESULT _hr = raw_RemoveAllPoints(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(224)
inline VARIANT_BOOL _DGMGeometryDigitizeService::IsGeometryValid ( const _variant_t & Item ) {
    VARIANT_BOOL _result;
    HRESULT _hr = raw_IsGeometryValid(Item, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(225)
inline VARIANT_BOOL _DGMGeometryDigitizeService::IsGeometryComplete ( const _variant_t & Item ) {
    VARIANT_BOOL _result;
    HRESULT _hr = raw_IsGeometryComplete(Item, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(226)
inline HRESULT _DGMGeometryDigitizeService::SetDigitizeMode ( const _variant_t & Item, long Mode ) {
    HRESULT _hr = raw_SetDigitizeMode(Item, Mode);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(227)
inline long _DGMGeometryDigitizeService::GetDigitizeMode ( const _variant_t & Item ) {
    long _result;
    HRESULT _hr = raw_GetDigitizeMode(Item, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(228)
inline HRESULT _DGMGeometryDigitizeService::AddMapView ( IDispatch * newValue ) {
    HRESULT _hr = raw_AddMapView(newValue);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(229)
inline HRESULT _DGMGeometryDigitizeService::RemoveMapView ( IDispatch * newValue ) {
    HRESULT _hr = raw_RemoveMapView(newValue);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(230)
inline HRESULT _DGMGeometryDigitizeService::ExtendGeometry ( const _variant_t & Item, IDispatch * newGeometry, const _variant_t & isEmpty ) {
    HRESULT _hr = raw_ExtendGeometry(Item, newGeometry, isEmpty);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(231)
inline HRESULT _DGMGeometryDigitizeService::RemoveLastGeometry ( const _variant_t & Item ) {
    HRESULT _hr = raw_RemoveLastGeometry(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

//
// interface _DGMGeometryEditService wrapper method implementations
//

#pragma implementation_key(232)
inline long _DGMGeometryEditService::GetGeometryCount ( ) {
    long _result;
    HRESULT _hr = get_GeometryCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(233)
inline void _DGMGeometryEditService::PutRefMapView ( IDispatch * returnValue ) {
    HRESULT _hr = putref_MapView(returnValue);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

#pragma implementation_key(234)
inline IDispatchPtr _DGMGeometryEditService::GetMapView ( ) {
    IDispatch * _result;
    HRESULT _hr = get_MapView(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(235)
inline long _DGMGeometryEditService::AppendGeometry ( IDispatch * Geometry, IDispatch * geometryStyle, const _variant_t & keyPointStyle ) {
    long _result;
    HRESULT _hr = raw_AppendGeometry(Geometry, geometryStyle, keyPointStyle, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(236)
inline IDispatchPtr _DGMGeometryEditService::GetGeometry ( long Index ) {
    IDispatch * _result;
    HRESULT _hr = raw_GetGeometry(Index, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return IDispatchPtr(_result, false);
}

#pragma implementation_key(237)
inline HRESULT _DGMGeometryEditService::RemoveGeometry ( const _variant_t & Item ) {
    HRESULT _hr = raw_RemoveGeometry(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(238)
inline HRESULT _DGMGeometryEditService::RemoveAllGeometries ( ) {
    HRESULT _hr = raw_RemoveAllGeometries();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(239)
inline HRESULT _DGMGeometryEditService::BeginMove ( struct _DGMPoint * point ) {
    HRESULT _hr = raw_BeginMove(point);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(240)
inline HRESULT _DGMGeometryEditService::Move ( struct _DGMPoint * point ) {
    HRESULT _hr = raw_Move(point);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(241)
inline HRESULT _DGMGeometryEditService::EndMove ( struct _DGMPoint * point ) {
    HRESULT _hr = raw_EndMove(point);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(242)
inline HRESULT _DGMGeometryEditService::CancelMove ( ) {
    HRESULT _hr = raw_CancelMove();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(243)
inline HRESULT _DGMGeometryEditService::SelectKeypoint ( const _variant_t & Item, long keypoint, const _variant_t & keyPointStyle ) {
    HRESULT _hr = raw_SelectKeypoint(Item, keypoint, keyPointStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(244)
inline HRESULT _DGMGeometryEditService::SelectAllKeypoints ( const _variant_t & Item, const _variant_t & keyPointStyle ) {
    HRESULT _hr = raw_SelectAllKeypoints(Item, keyPointStyle);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(245)
inline HRESULT _DGMGeometryEditService::UnSelectKeypoint ( const _variant_t & Item, long keypoint ) {
    HRESULT _hr = raw_UnSelectKeypoint(Item, keypoint);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(246)
inline HRESULT _DGMGeometryEditService::UnSelectAllKeypoints ( const _variant_t & Item ) {
    HRESULT _hr = raw_UnSelectAllKeypoints(Item);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(247)
inline HRESULT _DGMGeometryEditService::SetKeypointStyle ( const _variant_t & Item, long keypointType, const _variant_t & style ) {
    HRESULT _hr = raw_SetKeypointStyle(Item, keypointType, style);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(248)
inline VARIANT_BOOL _DGMGeometryEditService::IsKeypointSelected ( const _variant_t & Item, long keypoint ) {
    VARIANT_BOOL _result;
    HRESULT _hr = raw_IsKeypointSelected(Item, keypoint, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(249)
inline VARIANT_BOOL _DGMGeometryEditService::IsEditable ( const _variant_t & Item, short action ) {
    VARIANT_BOOL _result;
    HRESULT _hr = raw_IsEditable(Item, action, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

#pragma implementation_key(250)
inline HRESULT _DGMGeometryEditService::InsertVertexBefore ( const _variant_t & Item, long vertex, struct _DGMPoint * point ) {
    HRESULT _hr = raw_InsertVertexBefore(Item, vertex, point);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(251)
inline HRESULT _DGMGeometryEditService::InsertVertexAfter ( const _variant_t & Item, long vertex, struct _DGMPoint * point ) {
    HRESULT _hr = raw_InsertVertexAfter(Item, vertex, point);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(252)
inline HRESULT _DGMGeometryEditService::DeleteVertex ( const _variant_t & Item, long vertex ) {
    HRESULT _hr = raw_DeleteVertex(Item, vertex);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

#pragma implementation_key(253)
inline HRESULT _DGMGeometryEditService::DeleteSelectedVertices ( const _variant_t & Item ) {
    HRESULT _hr = 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -