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

📄 gmlayout.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    __declspec(property(get=GetAutophase,put=PutAutophase))
    VARIANT_BOOL Autophase;
    __declspec(property(get=GetLinearColor,put=PutLinearColor))
    enum ColorConstants LinearColor;
    __declspec(property(get=GetWidth,put=PutWidth))
    double Width;
    __declspec(property(get=GetUnits,put=PutUnits))
    enum StyleUnitsConstants Units;
    __declspec(property(get=GetDashGapCount,put=PutDashGapCount))
    long DashGapCount;
    __declspec(property(get=GetDashStrokePercent,put=PutDashStrokePercent))
    double DashStrokePercent;
    __declspec(property(get=GetLinearName,put=PutLinearName))
    _bstr_t LinearName;
    __declspec(property(get=GetDashName,put=PutDashName))
    _bstr_t DashName;

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

    // Methods:
    HRESULT UseActiveStyle (
        long ForFutureUse );
    HRESULT SetDashGap (
        long DashCount,
        VARIANT * Dashes );
    HRESULT GetDashGap (
        long DashCount,
        VARIANT * Dashes );

    // Properties:
    VARIANT_BOOL GetAutophase ( );
    void PutAutophase ( VARIANT_BOOL _val );
    enum ColorConstants GetLinearColor ( );
    void PutLinearColor ( enum ColorConstants _val );
    double GetWidth ( );
    void PutWidth ( double _val );
    enum StyleUnitsConstants GetUnits ( );
    void PutUnits ( enum StyleUnitsConstants _val );
    long GetDashGapCount ( );
    void PutDashGapCount ( long _val );
    double GetDashStrokePercent ( );
    void PutDashStrokePercent ( double _val );
    _bstr_t GetLinearName ( );
    void PutLinearName ( _bstr_t _val );
    _bstr_t GetDashName ( );
    void PutDashName ( _bstr_t _val );
};

struct __declspec(uuid("8b12e346-1243-11d4-bf77-00104b62bfb6"))
AttributeSets : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Get_Item))
    AttributeSetPtr _Item[];
    __declspec(property(get=GetItem))
    AttributeSetPtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;
    __declspec(property(get=GetCount,put=PutCount))
    long Count;

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

    // Methods:
    AttributeSetPtr GetItem (
        const _variant_t & index );
    AttributeSetPtr Get_Item (
        const _variant_t & index );
    AttributeSetPtr Add (
        _bstr_t Name );
    HRESULT Remove (
        _bstr_t Name );

    // Properties:
    IUnknownPtr Get_NewEnum ( );
    void Put_NewEnum ( IUnknown * _val );
    long GetCount ( );
    void PutCount ( long _val );
};

struct __declspec(uuid("8b12e345-1243-11d4-bf77-00104b62bfb6"))
AttributeSet : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Get_Item))
    AttributePtr _Item[];
    __declspec(property(get=GetItem))
    AttributePtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;
    __declspec(property(get=GetCount,put=PutCount))
    long Count;
    __declspec(property(get=GetSetName,put=PutSetName))
    _bstr_t SetName;

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

    // Methods:
    AttributePtr Add (
        _bstr_t Name,
        enum AttributeTypeConstants Type );
    HRESULT Remove (
        _bstr_t Name );
    AttributePtr GetItem (
        const _variant_t & index );
    AttributePtr Get_Item (
        const _variant_t & index );

    // Properties:
    IUnknownPtr Get_NewEnum ( );
    void Put_NewEnum ( IUnknown * _val );
    long GetCount ( );
    void PutCount ( long _val );
    _bstr_t GetSetName ( );
    void PutSetName ( _bstr_t _val );
};

struct __declspec(uuid("8b12e344-1243-11d4-bf77-00104b62bfb6"))
Attribute : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetValue,put=PutValue))
    _variant_t Value;
    __declspec(property(get=Get_Value,put=Put_Value))
    _variant_t _Value;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetAttributeType,put=PutAttributeType))
    enum AttributeTypeConstants AttributeType;
    __declspec(property(get=GetValueIsArray,put=PutValueIsArray))
    VARIANT_BOOL ValueIsArray;

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

    // Methods:
    HRESULT GetArrayValue (
        VARIANT * ArrayValue );
    HRESULT SetArrayValue (
        const _variant_t & ArrayValue );

    // Properties:
    _variant_t GetValue ( );
    void PutValue ( const _variant_t & _val );
    _variant_t Get_Value ( );
    void Put_Value ( const _variant_t & _val );
    _bstr_t GetName ( );
    void PutName ( _bstr_t _val );
    enum AttributeTypeConstants GetAttributeType ( );
    void PutAttributeType ( enum AttributeTypeConstants _val );
    VARIANT_BOOL GetValueIsArray ( );
    void PutValueIsArray ( VARIANT_BOOL _val );
};

enum AttributeTypeConstants
{
    igAttrTypeInteger = 2,
    igAttrTypeLong = 3,
    igAttrTypeSingle = 4,
    igAttrTypeDouble = 5,
    igAttrTypeCurrency = 6,
    igAttrTypeDate = 7,
    igAttrTypeString = 8,
    igAttrTypeBoolean = 11,
    igAttrTypeByte = 17,
    igAttrTypeUnicode = 18,
    igAttrTypeArray = 8192,
    igAttrCurrency = 6,
    igAttrDate = 7,
    igAttrString = 8,
    igAttrBoolean = 11,
    igAttrUniChar = 18
};

struct __declspec(uuid("8b12e358-1243-11d4-bf77-00104b62bfb6"))
Lines2d : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Get_Item))
    Line2dPtr _Item[];
    __declspec(property(get=GetItem))
    Line2dPtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;
    __declspec(property(get=GetCount,put=PutCount))
    long Count;

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

    // Methods:
    Line2dPtr AddBy2Points (
        double X1,
        double Y1,
        double X2,
        double Y2 );
    Line2dPtr AddByPointAngleLength (
        double x,
        double y,
        double Angle,
        double Length );
    Line2dPtr GetItem (
        const _variant_t & index );
    Line2dPtr Get_Item (
        const _variant_t & index );

    // Properties:
    IUnknownPtr Get_NewEnum ( );
    void Put_NewEnum ( IUnknown * _val );
    long GetCount ( );
    void PutCount ( long _val );
};

struct __declspec(uuid("8b12e35a-1243-11d4-bf77-00104b62bfb6"))
Line2d : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Getindex,put=Putindex))
    long index;
    __declspec(property(get=GetType,put=PutType))
    enum ObjectType Type;
    __declspec(property(get=GetVisible,put=PutVisible))
    VARIANT_BOOL Visible;
    __declspec(property(get=GetZOrder,put=PutZOrder))
    long ZOrder;
    __declspec(property(get=GetKeyPointCount,put=PutKeyPointCount))
    long KeyPointCount;
    __declspec(property(get=GetLOLinearStyle,put=PutLOLinearStyle))
    LOLinearStylePtr LOLinearStyle;
    __declspec(property(get=GetLength,put=PutLength))
    double Length;
    __declspec(property(get=GetAngle,put=PutAngle))
    double Angle;

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

    // Methods:
    HRESULT Range (
        double * XMinimum,
        double * YMinimum,
        double * XMaximum,
        double * YMaximum );
    HRESULT BringToFront ( );
    HRESULT BringForward ( );
    HRESULT SendToBack ( );
    HRESULT SendBackward ( );
    HRESULT Delete ( );
    HRESULT Move (
        double XFrom,
        double YFrom,
        double XTo,
        double YTo );
    HRESULT ScaleObject (
        double Factor );
    HRESULT Rotate (
        double Angle,
        double x,
        double y );
    IDispatchPtr Duplicate (
        const _variant_t & XDistance = vtMissing,
        const _variant_t & YDistance = vtMissing );
    HRESULT Select ( );
    HRESULT GetKeyPoint (
        long index,
        double * x,
        double * y,
        double * z,
        enum KeyPointType * KeyPointType,
        enum HandleType * HandleType );
    HRESULT SetKeyPoint (
        long index,
        double x,
        double y,
        double z );
    HRESULT GetStartPoint (
        double * x,
        double * y );
    HRESULT SetStartPoint (
        double x,
        double y );
    HRESULT GetEndPoint (
        double * x,
        double * y );
    HRESULT SetEndPoint (
        double x,
        double y );

    // Properties:
    long Getindex ( );
    void Putindex ( long _val );
    enum ObjectType GetType ( );
    void PutType ( enum ObjectType _val );
    VARIANT_BOOL GetVisible ( );
    void PutVisible ( VARIANT_BOOL _val );
    long GetZOrder ( );
    void PutZOrder ( long _val );
    long GetKeyPointCount ( );
    void PutKeyPointCount ( long _val );
    LOLinearStylePtr GetLOLinearStyle ( );
    void PutLOLinearStyle ( struct LOLinearStyle * _val );
    double GetLength ( );
    void PutLength ( double _val );
    double GetAngle ( );
    void PutAngle ( double _val );
};

struct __declspec(uuid("8b12e361-1243-11d4-bf77-00104b62bfb6"))
Points2d : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Get_Item))
    Point2dPtr _Item[];
    __declspec(property(get=GetItem))
    Point2dPtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;
    __declspec(property(get=GetCount,put=PutCount))
    long Count;

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

    // Methods:
    Point2dPtr Add (
        double x,
        double y );
    Point2dPtr GetItem (
        const _variant_t & index );
    Point2dPtr Get_Item (
        const _variant_t & index );

    // Properties:
    IUnknownPtr Get_NewEnum ( );
    void Put_NewEnum ( IUnknown * _val );
    long GetCount ( );
    void PutCount ( long _val );
};

struct __declspec(uuid("8b12e35f-1243-11d4-bf77-00104b62bfb6"))
Point2d : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Getindex,put=Putindex))
    long index;
    __declspec(property(get=GetType,put=PutType))
    enum ObjectType Type;
    __declspec(property(get=GetVisible,put=PutVisible))
    VARIANT_BOOL Visible;
    __declspec(property(get=GetZOrder,put=PutZOrder))
    long ZOrder;
    __declspec(property(get=GetKeyPointCount,put=PutKeyPointCount))
    long KeyPointCount;
    __declspec(property(get=GetLOLinearStyle,put=PutLOLinearStyle))
    LOLinearStylePtr LOLinearStyle;
    __declspec(property(get=Getx,put=Putx))
    double x;
    __declspec(property(get=Gety,put=Puty))

⌨️ 快捷键说明

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