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

📄 pclient.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
        struct _DGMPoint * point,
        const _variant_t & Item = vtMissing );
    HRESULT RemoveLastPoint (
        const _variant_t & Item = vtMissing );
    HRESULT RemoveAllPoints (
        const _variant_t & Item = vtMissing );
    VARIANT_BOOL IsGeometryValid (
        const _variant_t & Item = vtMissing );
    VARIANT_BOOL IsGeometryComplete (
        const _variant_t & Item = vtMissing );
    HRESULT SetDigitizeMode (
        const _variant_t & Item,
        long Mode );
    long GetDigitizeMode (
        const _variant_t & Item );
    HRESULT AddMapView (
        IDispatch * newValue );
    HRESULT RemoveMapView (
        IDispatch * newValue );
    HRESULT ExtendGeometry (
        const _variant_t & Item,
        IDispatch * newGeometry,
        const _variant_t & isEmpty = vtMissing );
    HRESULT RemoveLastGeometry (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_GeometryCount (
        long * returnValue ) = 0;
    virtual HRESULT __stdcall putref_MapView (
        IDispatch * returnValue ) = 0;
    virtual HRESULT __stdcall get_MapView (
        IDispatch * * returnValue ) = 0;
    virtual HRESULT __stdcall raw_AppendGeometry (
        IDispatch * Geometry,
        IDispatch * geometryStyle,
        VARIANT keyPointStyle,
        VARIANT isEmpty,
        long * Index ) = 0;
    virtual HRESULT __stdcall raw_GetGeometry (
        long Index,
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall raw_RemoveGeometry (
        VARIANT Item ) = 0;
    virtual HRESULT __stdcall raw_RemoveAllGeometries ( ) = 0;
    virtual HRESULT __stdcall raw_DynamicPoint (
        struct _DGMPoint * point,
        VARIANT Item = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_AppendPoint (
        struct _DGMPoint * point,
        VARIANT Item = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_RemoveLastPoint (
        VARIANT Item = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_RemoveAllPoints (
        VARIANT Item = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_IsGeometryValid (
        VARIANT Item,
        VARIANT_BOOL * isValid ) = 0;
    virtual HRESULT __stdcall raw_IsGeometryComplete (
        VARIANT Item,
        VARIANT_BOOL * isValid ) = 0;
    virtual HRESULT __stdcall raw_SetDigitizeMode (
        VARIANT Item,
        long Mode ) = 0;
    virtual HRESULT __stdcall raw_GetDigitizeMode (
        VARIANT Item,
        long * Mode ) = 0;
    virtual HRESULT __stdcall raw_AddMapView (
        IDispatch * newValue ) = 0;
    virtual HRESULT __stdcall raw_RemoveMapView (
        IDispatch * newValue ) = 0;
    virtual HRESULT __stdcall raw_ExtendGeometry (
        VARIANT Item,
        IDispatch * newGeometry,
        VARIANT isEmpty = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_RemoveLastGeometry (
        VARIANT Item ) = 0;
};

struct __declspec(uuid("24bd4001-f12a-11cf-ac01-08003601b769"))
_DGMGeometryEditService : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetGeometryCount))
    long GeometryCount;
    __declspec(property(get=GetMapView,put=PutRefMapView))
    IDispatchPtr MapView;
    __declspec(property(get=GetZValueMode,put=PutZValueMode))
    enum ZValueConstants ZValueMode;

    //
    // Wrapper methods for error-handling
    //

    long GetGeometryCount ( );
    void PutRefMapView (
        IDispatch * returnValue );
    IDispatchPtr GetMapView ( );
    long AppendGeometry (
        IDispatch * Geometry,
        IDispatch * geometryStyle,
        const _variant_t & keyPointStyle = vtMissing );
    IDispatchPtr GetGeometry (
        long Index );
    HRESULT RemoveGeometry (
        const _variant_t & Item );
    HRESULT RemoveAllGeometries ( );
    HRESULT BeginMove (
        struct _DGMPoint * point );
    HRESULT Move (
        struct _DGMPoint * point );
    HRESULT EndMove (
        struct _DGMPoint * point );
    HRESULT CancelMove ( );
    HRESULT SelectKeypoint (
        const _variant_t & Item,
        long keypoint,
        const _variant_t & keyPointStyle = vtMissing );
    HRESULT SelectAllKeypoints (
        const _variant_t & Item,
        const _variant_t & keyPointStyle = vtMissing );
    HRESULT UnSelectKeypoint (
        const _variant_t & Item,
        long keypoint );
    HRESULT UnSelectAllKeypoints (
        const _variant_t & Item );
    HRESULT SetKeypointStyle (
        const _variant_t & Item,
        long keypointType,
        const _variant_t & style );
    VARIANT_BOOL IsKeypointSelected (
        const _variant_t & Item,
        long keypoint );
    VARIANT_BOOL IsEditable (
        const _variant_t & Item,
        short action );
    HRESULT InsertVertexBefore (
        const _variant_t & Item,
        long vertex,
        struct _DGMPoint * point );
    HRESULT InsertVertexAfter (
        const _variant_t & Item,
        long vertex,
        struct _DGMPoint * point );
    HRESULT DeleteVertex (
        const _variant_t & Item,
        long vertex );
    HRESULT DeleteSelectedVertices (
        const _variant_t & Item );
    HRESULT BeginRotate (
        struct _DGMPoint * point,
        struct _DGMPoint * origin );
    HRESULT Rotate (
        struct _DGMPoint * point );
    HRESULT EndRotate (
        struct _DGMPoint * point );
    HRESULT CancelRotate ( );
    long keypointType (
        const _variant_t & Item,
        long keypoint );
    HRESULT AddMapView (
        IDispatch * newValue );
    HRESULT RemoveMapView (
        IDispatch * newValue );
    enum ZValueConstants GetZValueMode ( );
    void PutZValueMode (
        enum ZValueConstants Mode );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_GeometryCount (
        long * returnValue ) = 0;
    virtual HRESULT __stdcall putref_MapView (
        IDispatch * returnValue ) = 0;
    virtual HRESULT __stdcall get_MapView (
        IDispatch * * returnValue ) = 0;
    virtual HRESULT __stdcall raw_AppendGeometry (
        IDispatch * Geometry,
        IDispatch * geometryStyle,
        VARIANT keyPointStyle,
        long * Index ) = 0;
    virtual HRESULT __stdcall raw_GetGeometry (
        long Index,
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall raw_RemoveGeometry (
        VARIANT Item ) = 0;
    virtual HRESULT __stdcall raw_RemoveAllGeometries ( ) = 0;
    virtual HRESULT __stdcall raw_BeginMove (
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_Move (
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_EndMove (
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_CancelMove ( ) = 0;
    virtual HRESULT __stdcall raw_SelectKeypoint (
        VARIANT Item,
        long keypoint,
        VARIANT keyPointStyle = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_SelectAllKeypoints (
        VARIANT Item,
        VARIANT keyPointStyle = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_UnSelectKeypoint (
        VARIANT Item,
        long keypoint ) = 0;
    virtual HRESULT __stdcall raw_UnSelectAllKeypoints (
        VARIANT Item ) = 0;
    virtual HRESULT __stdcall raw_SetKeypointStyle (
        VARIANT Item,
        long keypointType,
        VARIANT style ) = 0;
    virtual HRESULT __stdcall raw_IsKeypointSelected (
        VARIANT Item,
        long keypoint,
        VARIANT_BOOL * isSelected ) = 0;
    virtual HRESULT __stdcall raw_IsEditable (
        VARIANT Item,
        short action,
        VARIANT_BOOL * IsEditable ) = 0;
    virtual HRESULT __stdcall raw_InsertVertexBefore (
        VARIANT Item,
        long vertex,
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_InsertVertexAfter (
        VARIANT Item,
        long vertex,
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_DeleteVertex (
        VARIANT Item,
        long vertex ) = 0;
    virtual HRESULT __stdcall raw_DeleteSelectedVertices (
        VARIANT Item ) = 0;
    virtual HRESULT __stdcall raw_BeginRotate (
        struct _DGMPoint * point,
        struct _DGMPoint * origin ) = 0;
    virtual HRESULT __stdcall raw_Rotate (
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_EndRotate (
        struct _DGMPoint * point ) = 0;
    virtual HRESULT __stdcall raw_CancelRotate ( ) = 0;
    virtual HRESULT __stdcall raw_keypointType (
        VARIANT Item,
        long keypoint,
        long * Type ) = 0;
    virtual HRESULT __stdcall raw_AddMapView (
        IDispatch * newValue ) = 0;
    virtual HRESULT __stdcall raw_RemoveMapView (
        IDispatch * newValue ) = 0;
    virtual HRESULT __stdcall get_ZValueMode (
        enum ZValueConstants * Mode ) = 0;
    virtual HRESULT __stdcall put_ZValueMode (
        enum ZValueConstants Mode ) = 0;
};

enum ZValueConstants
{
    gmgesIgnoreZ = 1,
    gmgesCalculateDeltaZ = 2
};

struct __declspec(uuid("f88cdd90-c629-11cf-abf4-08003601b769"))
DGMGeometryStorageService : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT SetGeometry (
        struct GField * field,
        IDispatch * Geometry );
    HRESULT GetGeometry (
        struct GField * field,
        IDispatch * * Geometry );
    HRESULT StorageToGeometry (
        const _variant_t & chunk,
        IDispatch * * Geometry );
    HRESULT GeometryToStorage (
        IDispatch * Geometry,
        VARIANT * chunk );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_SetGeometry (
        struct GField * field,
        IDispatch * Geometry ) = 0;
    virtual HRESULT __stdcall raw_GetGeometry (
        struct GField * field,
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall raw_StorageToGeometry (
        VARIANT chunk,
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall raw_GeometryToStorage (
        IDispatch * Geometry,
        VARIANT * chunk ) = 0;
};

struct __declspec(uuid("31eedd50-d411-11cf-a1a0-08003601d502"))
DGMMeasurementService : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCoordSystem,put=PutRefCoordSystem))
    DGMCoordSystemPtr CoordSystem;
    __declspec(property(get=GetGeometry,put=PutRefGeometry))
    IDispatchPtr Geometry;
    __declspec(property(get=GetLength))
    double Length;
    __declspec(property(get=GetArea))
    double Area;
    __declspec(property(get=GetPerimeter))
    double Perimeter;
    __declspec(property(get=GetForwardAzimuth))
    double ForwardAzimuth;
    __declspec(property(get=GetBackAzimuth))
    double BackAzimuth;

    //
    // Wrapper methods for error-handling
    //

    DGMCoordSystemPtr GetCoordSystem ( );
    void PutRefCoordSystem (
        struct DGMCoordSystem * CoordSystem );
    IDispatchPtr GetGeometry ( );
    void PutRefGeometry (
        IDispatch * Geometry );
    enum CSSReferenceSpaceConstants GetReferenceSpace ( );
    void PutReferenceSpace (
        enum CSSReferenceSpaceConstants ReferenceSpace );
    double GetLength ( );
    double GetArea ( );
    double GetPerimeter ( );
    HRESULT ComputePartialLength (
        struct _DGMPoint * Point1,
        struct _DGMPoint * Point2,
        double * PartialLength );
    double GetForwardAzimuth ( );
    double GetBackAzimuth ( );
    HRESULT PointFromDistanceAndAzimuth (
        double Distance,
        double Azimuth,
        struct _DGMPoint * * GeneratedPoint );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_CoordSystem (
        struct DGMCoordSystem * * CoordSystem ) = 0;
    virtual HRESULT __stdcall putref_CoordSystem (
        struct DGMCoordSystem * CoordSystem ) = 0;
    virtual HRESULT __stdcall get_Geometry (
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall putref_Geometry (
        IDispatch * Geometry ) = 0;
    virtual HRESULT __stdcall get_ReferenceSpace (
        enum CSSReferenceSpaceConstants * ReferenceSpace ) = 0;
    virtual HRESULT __stdcall put_ReferenceSpace (
        enum CSSReferenceSpaceConstants ReferenceSpace ) = 0;
    virtual HRESULT __stdcall get_Length (
        double * Length ) = 0;
    virtual HRESULT __stdcall get_Area (
        double * Area ) = 0;
    virtual HRESULT __stdcall get_Perimeter (
        double * Perimeter ) = 0;
    virtual HRESULT __stdcall raw_ComputePartialLength (
        struct _DGMPoint * Point1,
        struct _DGMPoint * Point2,
        double * PartialLength ) = 0;
    virtual HRESULT __stdcall get_ForwardAzim

⌨️ 快捷键说明

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