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

📄 gmlayout.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    enum ObjectType Type;
    __declspec(property(get=GetZOrder,put=PutZOrder))
    long ZOrder;
    __declspec(property(get=GetVisible,put=PutVisible))
    VARIANT_BOOL Visible;
    __declspec(property(get=GetKeyPointCount,put=PutKeyPointCount))
    long KeyPointCount;
    __declspec(property(get=GetLOLinearStyle,put=PutLOLinearStyle))
    LOLinearStylePtr LOLinearStyle;
    __declspec(property(get=GetRadius,put=PutRadius))
    double Radius;
    __declspec(property(get=GetStartAngle,put=PutStartAngle))
    double StartAngle;
    __declspec(property(get=GetSweepAngle,put=PutSweepAngle))
    double SweepAngle;
    __declspec(property(get=GetOrientation,put=PutOrientation))
    enum Geom2dOrientationConstants Orientation;

    //
    // 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 ( );
    IDispatchPtr Duplicate (
        const _variant_t & XDistance = vtMissing,
        const _variant_t & YDistance = vtMissing );
    HRESULT Move (
        double XFrom,
        double YFrom,
        double XTo,
        double YTo );
    HRESULT ScaleObject (
        double Factor );
    HRESULT Rotate (
        double Angle,
        double x,
        double y );
    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 );
    HRESULT GetCenterPoint (
        double * x,
        double * y );
    HRESULT SetCenterPoint (
        double x,
        double y );
    HRESULT GetMajorAxis (
        double * x,
        double * y );
    HRESULT SetMajorAxis (
        double x,
        double y );

    // Properties:
    long Getindex ( );
    void Putindex ( long _val );
    enum ObjectType GetType ( );
    void PutType ( enum ObjectType _val );
    long GetZOrder ( );
    void PutZOrder ( long _val );
    VARIANT_BOOL GetVisible ( );
    void PutVisible ( VARIANT_BOOL _val );
    long GetKeyPointCount ( );
    void PutKeyPointCount ( long _val );
    LOLinearStylePtr GetLOLinearStyle ( );
    void PutLOLinearStyle ( struct LOLinearStyle * _val );
    double GetRadius ( );
    void PutRadius ( double _val );
    double GetStartAngle ( );
    void PutStartAngle ( double _val );
    double GetSweepAngle ( );
    void PutSweepAngle ( double _val );
    enum Geom2dOrientationConstants GetOrientation ( );
    void PutOrientation ( enum Geom2dOrientationConstants _val );
};

enum ObjectType
{
    igArc2d = -1654322688,
    igComplexString2d = 928044128,
    igLine2d = 760091584,
    igLineString2d = -126503776,
    igPoint2d = -1728529392,
    igRectangle2d = 910407728,
    igBoundary2d = 515045920,
    igSymbol2d = 1906059870,
    igGroup = -637360432,
    igTextBox = 2004510816,
    igSmartFrame2d = 1532309040,
    igSheetWindow = -945616692,
    igSheet = 1028092896,
    igBackdrop = 1261248592,
    igDocument = 2130689632,
    igVariable = -646299728,
    igAttributeSets = -1744936112,
    igAttributeSet = -1744936111,
    igAttribute = -1744936110,
    igFillStyle = 1207747377,
    igHatchPatternStyle = 1207747378,
    igLinearStyle = 1617945632,
    igLinearPattern = -1817329616,
    igPointStyle = 459239585,
    igApplication = -1418062080,
    igSection = -1821673744,
    igSelectSet = -1343917919,
    igSheetSetup = 474881841,
    igUnitsOfMeasure = -1869924320,
    igVariableList = 761723400,
    igPrinter = -1023074289,
    igSymbolDocument = 169669181
};

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

    __declspec(property(get=GetParent,put=PutParent))
    DocumentPtr Parent;
    __declspec(property(get=GetInferredName,put=PutInferredName))
    _bstr_t InferredName;
    __declspec(property(get=GetStyleName,put=PutStyleName))
    _bstr_t StyleName;
    __declspec(property(get=Get_StyleName,put=Put_StyleName))
    _bstr_t _StyleName;
    __declspec(property(get=GetDescription,put=PutDescription))
    _bstr_t Description;
    __declspec(property(get=GetNotes,put=PutNotes))
    _bstr_t Notes;
    __declspec(property(get=GetBaseStyle,put=PutBaseStyle))
    LOLinearStylePtr BaseStyle;
    __declspec(property(get=GetColor,put=PutColor))
    enum ColorConstants Color;
    __declspec(property(get=GetWidth,put=PutWidth))
    double Width;
    __declspec(property(get=GetUnits,put=PutUnits))
    enum StyleUnitsConstants Units;
    __declspec(property(get=GetKey,put=PutKey))
    _bstr_t Key;
    __declspec(property(get=GetStartTerminator,put=PutStartTerminator))
    LOPointStylePtr StartTerminator;
    __declspec(property(get=GetEndTerminator,put=PutEndTerminator))
    LOPointStylePtr EndTerminator;
    __declspec(property(get=GetIsInternal,put=PutIsInternal))
    VARIANT_BOOL IsInternal;
    __declspec(property(get=GetIsEditable,put=PutIsEditable))
    VARIANT_BOOL IsEditable;
    __declspec(property(get=GetType,put=PutType))
    enum ObjectType Type;
    __declspec(property(get=GetStyleComponentIndex,put=PutStyleComponentIndex))
    long StyleComponentIndex;
    __declspec(property(get=GetStyleComponentCount,put=PutStyleComponentCount))
    long StyleComponentCount;
    __declspec(property(get=GetOffset,put=PutOffset))
    double Offset;
    __declspec(property(get=GetColorLock,put=PutColorLock))
    VARIANT_BOOL ColorLock;
    __declspec(property(get=GetWidthLock,put=PutWidthLock))
    VARIANT_BOOL WidthLock;

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

    // Methods:
    HRESULT Rename (
        _bstr_t NewName );
    long AddStyleComponent ( );
    HRESULT DeleteStyleComponent (
        long StyleComponentIndex );
    HRESULT DisconnectBaseStyle ( );
    PicturePtr GetPreview (
        long Width,
        long Height );

    // Properties:
    DocumentPtr GetParent ( );
    void PutParent ( struct Document * _val );
    _bstr_t GetInferredName ( );
    void PutInferredName ( _bstr_t _val );
    _bstr_t GetStyleName ( );
    void PutStyleName ( _bstr_t _val );
    _bstr_t Get_StyleName ( );
    void Put_StyleName ( _bstr_t _val );
    _bstr_t GetDescription ( );
    void PutDescription ( _bstr_t _val );
    _bstr_t GetNotes ( );
    void PutNotes ( _bstr_t _val );
    LOLinearStylePtr GetBaseStyle ( );
    void PutBaseStyle ( struct LOLinearStyle * _val );
    enum ColorConstants GetColor ( );
    void PutColor ( enum ColorConstants _val );
    double GetWidth ( );
    void PutWidth ( double _val );
    enum StyleUnitsConstants GetUnits ( );
    void PutUnits ( enum StyleUnitsConstants _val );
    _bstr_t GetKey ( );
    void PutKey ( _bstr_t _val );
    LOPointStylePtr GetStartTerminator ( );
    void PutStartTerminator ( struct LOPointStyle * _val );
    LOPointStylePtr GetEndTerminator ( );
    void PutEndTerminator ( struct LOPointStyle * _val );
    VARIANT_BOOL GetIsInternal ( );
    void PutIsInternal ( VARIANT_BOOL _val );
    VARIANT_BOOL GetIsEditable ( );
    void PutIsEditable ( VARIANT_BOOL _val );
    enum ObjectType GetType ( );
    void PutType ( enum ObjectType _val );
    long GetStyleComponentIndex ( );
    void PutStyleComponentIndex ( long _val );
    long GetStyleComponentCount ( );
    void PutStyleComponentCount ( long _val );
    double GetOffset ( );
    void PutOffset ( double _val );
    VARIANT_BOOL GetColorLock ( );
    void PutColorLock ( VARIANT_BOOL _val );
    VARIANT_BOOL GetWidthLock ( );
    void PutWidthLock ( VARIANT_BOOL _val );
};

enum ColorConstants
{
    igDkMagentaColor = 8388736,
    igDkRedColor = 128,
    igDkYellowColor = 32896,
    igDkGrayColor = 8421504,
    igLtGrayColor = 12632256,
    igBackgroundColor = -2147483648,
    igBlackColor = 0,
    igBlueColor = 16711680,
    igCyanColor = 16776960,
    igGreenColor = 65280,
    igMagentaColor = 16711935,
    igRedColor = 255,
    igYellowColor = 65535,
    igWhiteColor = 16777215,
    igDkBlueColor = 8388608,
    igDkCyanColor = 8421376,
    igDkGreenColor = 32768
};

enum StyleUnitsConstants
{
    igPaperStyleUnits = 11,
    igWorldStyleUnits = 12,
    igViewStyleUnits = 13,
    igDrawingStyleUnits = 14
};

struct __declspec(uuid("04e81f50-1472-11d4-bf77-00104b62bfb6"))
LOPointStyle : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetParent,put=PutParent))
    DocumentPtr Parent;
    __declspec(property(get=GetInferredName,put=PutInferredName))
    _bstr_t InferredName;
    __declspec(property(get=GetStyleName,put=PutStyleName))
    _bstr_t StyleName;
    __declspec(property(get=Get_StyleName,put=Put_StyleName))
    _bstr_t _StyleName;
    __declspec(property(get=GetNotes,put=PutNotes))
    _bstr_t Notes;
    __declspec(property(get=GetUnits,put=PutUnits))
    enum StyleUnitsConstants Units;
    __declspec(property(get=GetKey,put=PutKey))
    _bstr_t Key;
    __declspec(property(get=GetIsEditable,put=PutIsEditable))
    VARIANT_BOOL IsEditable;
    __declspec(property(get=GetIsInternal,put=PutIsInternal))
    VARIANT_BOOL IsInternal;
    __declspec(property(get=GetGraphic,put=PutGraphic))
    IDispatchPtr Graphic;
    __declspec(property(get=GetType,put=PutType))
    enum ObjectType Type;

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

    // Methods:
    HRESULT Rename (
        _bstr_t NewName );
    PicturePtr GetPreview (
        long Width,
        long Height );

    // Properties:
    DocumentPtr GetParent ( );
    void PutParent ( struct Document * _val );
    _bstr_t GetInferredName ( );
    void PutInferredName ( _bstr_t _val );
    _bstr_t GetStyleName ( );
    void PutStyleName ( _bstr_t _val );
    _bstr_t Get_StyleName ( );
    void Put_StyleName ( _bstr_t _val );
    _bstr_t GetNotes ( );
    void PutNotes ( _bstr_t _val );
    enum StyleUnitsConstants GetUnits ( );
    void PutUnits ( enum StyleUnitsConstants _val );
    _bstr_t GetKey ( );
    void PutKey ( _bstr_t _val );
    VARIANT_BOOL GetIsEditable ( );
    void PutIsEditable ( VARIANT_BOOL _val );
    VARIANT_BOOL GetIsInternal ( );
    void PutIsInternal ( VARIANT_BOOL _val );
    IDispatchPtr GetGraphic ( );
    void PutGraphic ( IDispatch * _val );
    enum ObjectType GetType ( );
    void PutType ( enum ObjectType _val );
};

enum Geom2dOrientationConstants
{
    igGeom2dOrientClockwise = 0,
    igGeom2dOrientCounterClockwise = 1
};

enum KeyPointType
{
    igKeyPointStart = 1,
    igKeyPointEnd = 2,
    igKeyPointCenter = 4,
    igKeyPointMajorAxis = 8,
    igKeyPointMinorAxis = 16,
    igKeyPointMiddle = 32,
    igKeyPointPointOnly = 64,
    igKeyPointNonDefining = 16384,
    igKeyPointCallback = 32768
};

enum HandleType
{
    igHandleNone = 0,
    igHandleReadOnly = 1,
    igHandleWriteable = 2,
    igHandleInvisible = 4,
    igHandleRotate = 8,
    igHandleConnectedToNext = 16,
    igHandleConnectedToPrevious = 32,
    igHandleOrigin = 64
};

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

    __declspec(property(get=Get_Item))
    Boundary2dPtr _Item[];
    __declspec(property(get=GetItem))
    Boundary2dPtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;

⌨️ 快捷键说明

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