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

📄 gmlayout.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (268d67d4).
//
// GMLayout.tlh
//
// C++ source equivalent of Win32 type library D:\\program files\\GeoMedia Professional\\Program\\GMLayout.tlb
// compiler-generated file created 12/05/06 at 15:52:36 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct __declspec(uuid("a695eac7-990d-11d3-a5f6-080036ec1b04"))
/* dispinterface */ Application;
struct __declspec(uuid("a35629e0-13d9-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Document;
struct __declspec(uuid("8b12e383-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Printer;
struct __declspec(uuid("e88ecc21-8428-11d4-bf93-00104b62bfb6"))
/* dispinterface */ Section;
struct __declspec(uuid("e88ecc22-8428-11d4-bf93-00104b62bfb6"))
/* dispinterface */ SectionSheets;
struct __declspec(uuid("8b12e37f-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Sheet;
struct __declspec(uuid("8b12e343-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Arcs2d;
struct __declspec(uuid("8b12e340-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Arc2d;
struct __declspec(uuid("8b12e379-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ LOLinearStyle;
struct __declspec(uuid("04e81f50-1472-11d4-bf77-00104b62bfb6"))
/* dispinterface */ LOPointStyle;
struct __declspec(uuid("8b12e348-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Boundaries2d;
struct __declspec(uuid("8b12e349-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Boundary2d;
struct __declspec(uuid("8b12e372-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ BoundaryStyle2d;
struct __declspec(uuid("8b12e34a-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ BoundingObjects2d;
struct __declspec(uuid("8b12e356-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Groups;
struct __declspec(uuid("8b12e355-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Group;
struct __declspec(uuid("8b12e376-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ GroupStyle;
struct __declspec(uuid("8b12e346-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ AttributeSets;
struct __declspec(uuid("8b12e345-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ AttributeSet;
struct __declspec(uuid("8b12e344-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Attribute;
struct __declspec(uuid("8b12e358-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Lines2d;
struct __declspec(uuid("8b12e35a-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Line2d;
struct __declspec(uuid("8b12e361-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Points2d;
struct __declspec(uuid("8b12e35f-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Point2d;
struct __declspec(uuid("8b12e381-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SheetSetup;
struct __declspec(uuid("8b12e366-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SmartFrames2d;
struct __declspec(uuid("8b12e365-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SmartFrame2d;
struct __declspec(uuid("8b12e367-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SmartFrame2dStyle;
struct __declspec(uuid("5bc193a0-1639-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Symbols;
struct __declspec(uuid("8b12e369-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Symbol2d;
struct __declspec(uuid("8b12e36c-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ TextBoxes;
struct __declspec(uuid("8b12e36b-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ TextBox;
struct __declspec(uuid("8b12e36f-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ TextEdit;
struct __declspec(uuid("8b12e364-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Rectangles2d;
struct __declspec(uuid("8b12e362-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Rectangle2d;
struct __declspec(uuid("8b12e397-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ DrawingObjects;
struct __declspec(uuid("8b12e374-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ FillStyles;
struct __declspec(uuid("8b12e373-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ FillStyle;
struct __declspec(uuid("8b12e378-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ HatchPatternStyles;
struct __declspec(uuid("8b12e377-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ HatchPatternStyle;
struct __declspec(uuid("8b12e37a-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ LOLinearStyles;
struct __declspec(uuid("e88ecc20-8428-11d4-bf93-00104b62bfb6"))
/* dispinterface */ Sections;
struct __declspec(uuid("8b12e380-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Sheets;
struct __declspec(uuid("8b12e368-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SmartFrame2dStyles;
struct __declspec(uuid("8b12e37e-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ LOPointStyles;
struct __declspec(uuid("8b12e392-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SelectSet;
struct __declspec(uuid("a161a720-88b7-11d4-bf94-00104b62bfb6"))
/* dispinterface */ Documents;
struct __declspec(uuid("8b12e393-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ Backdrop;
struct __declspec(uuid("8b12e382-1243-11d4-bf77-00104b62bfb6"))
/* dispinterface */ SheetWindow;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(Application, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Document, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Printer, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Section, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SectionSheets, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Sheet, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Arcs2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Arc2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(LOLinearStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(LOPointStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Boundaries2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Boundary2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(BoundaryStyle2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(BoundingObjects2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Groups, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Group, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(GroupStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(AttributeSets, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(AttributeSet, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Attribute, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Lines2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Line2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Points2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Point2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SheetSetup, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SmartFrames2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SmartFrame2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SmartFrame2dStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Symbols, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Symbol2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(TextBoxes, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(TextBox, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(TextEdit, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Rectangles2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Rectangle2d, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(DrawingObjects, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(FillStyles, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(FillStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(HatchPatternStyles, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(HatchPatternStyle, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(LOLinearStyles, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Sections, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Sheets, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SmartFrame2dStyles, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(LOPointStyles, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SelectSet, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Documents, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(Backdrop, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(SheetWindow, __uuidof(IDispatch));

//
// Type library items
//

struct __declspec(uuid("a695eac7-990d-11d3-a5f6-080036ec1b04"))
Application : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetActiveDocument,put=PutActiveDocument))
    DocumentPtr ActiveDocument;
    __declspec(property(get=GetActiveSection,put=PutActiveSection))
    SectionPtr ActiveSection;
    __declspec(property(get=GetActiveSelectSet,put=PutActiveSelectSet))
    SelectSetPtr ActiveSelectSet;
    __declspec(property(get=GetActiveSheet,put=PutActiveSheet))
    SheetPtr ActiveSheet;
    __declspec(property(get=GetActiveTextStyle,put=PutActiveTextStyle))
    _bstr_t ActiveTextStyle;
    __declspec(property(get=GetAngleDecimalPrecision,put=PutAngleDecimalPrecision))
    enum PrecisionConstants AngleDecimalPrecision;
    __declspec(property(get=GetAngleUnit,put=PutAngleUnit))
    enum ReadoutUnitConstants AngleUnit;
    __declspec(property(get=GetAreaDecimalPrecision,put=PutAreaDecimalPrecision))
    enum PrecisionConstants AreaDecimalPrecision;
    __declspec(property(get=GetAreaUnit,put=PutAreaUnit))
    enum ReadoutUnitConstants AreaUnit;
    __declspec(property(get=GetBrowserHome,put=PutBrowserHome))
    _bstr_t BrowserHome;
    __declspec(property(get=GetColorAbsolute,put=PutColorAbsolute))
    VARIANT_BOOL ColorAbsolute;
    __declspec(property(get=GetDataBaseUnitsInMeters,put=PutDataBaseUnitsInMeters))
    double DataBaseUnitsInMeters;
    __declspec(property(get=GetDistanceDecimalPrecision,put=PutDistanceDecimalPrecision))
    enum PrecisionConstants DistanceDecimalPrecision;
    __declspec(property(get=GetDistanceUnit,put=PutDistanceUnit))
    enum ReadoutUnitConstants DistanceUnit;
    __declspec(property(get=GetDocuments,put=PutDocuments))
    DocumentsPtr Documents;
    __declspec(property(get=GetFillStyles,put=PutFillStyles))
    FillStylesPtr FillStyles;
    __declspec(property(get=GetGridDisplay,put=PutGridDisplay))
    VARIANT_BOOL GridDisplay;
    __declspec(property(get=GetGridSnapTo,put=PutGridSnapTo))
    VARIANT_BOOL GridSnapTo;
    __declspec(property(get=GetHatchPatternStyles,put=PutHatchPatternStyles))
    HatchPatternStylesPtr HatchPatternStyles;
    __declspec(property(get=GetLOLinearStyles,put=PutLOLinearStyles))
    LOLinearStylesPtr LOLinearStyles;
    __declspec(property(get=GetOptionsColorHandle,put=PutOptionsColorHandle))
    enum ColorConstants OptionsColorHandle;
    __declspec(property(get=GetOptionsColorHighlight,put=PutOptionsColorHighlight))
    enum ColorConstants OptionsColorHighlight;
    __declspec(property(get=GetOptionsColorSelectedElement,put=PutOptionsColorSelectedElement))
    enum ColorConstants OptionsColorSelectedElement;
    __declspec(property(get=GetParent,put=PutParent))
    IDispatchPtr Parent;
    __declspec(property(get=GetLOPointStyles,put=PutLOPointStyles))
    LOPointStylesPtr LOPointStyles;
    __declspec(property(get=GetPrinter,put=PutPrinter))
    PrinterPtr Printer;
    __declspec(property(get=GetRADApplication,put=PutRADApplication))
    IDispatchPtr RADApplication;
    __declspec(property(get=GetSections,put=PutSections))
    SectionsPtr Sections;
    __declspec(property(get=GetSheets,put=PutSheets))
    SheetsPtr Sheets;
    __declspec(property(get=GetSmartFrame2dStyles,put=PutSmartFrame2dStyles))
    SmartFrame2dStylesPtr SmartFrame2dStyles;
    __declspec(property(get=GetSmartSketchCursorIntentZone,put=PutSmartSketchCursorIntentZone))
    short SmartSketchCursorIntentZone;
    __declspec(property(get=GetSmartSketchCursorToleranceZone,put=PutSmartSketchCursorToleranceZone))
    short SmartSketchCursorToleranceZone;
    __declspec(property(get=GetStaticGridIndexCount,put=PutStaticGridIndexCount))
    long StaticGridIndexCount;
    __declspec(property(get=GetStaticGridSpacing,put=PutStaticGridSpacing))
    double StaticGridSpacing;
    __declspec(property(get=GetZoom,put=PutZoom))
    double Zoom;

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

    // Methods:
    HRESULT AddDocumentObjects (
        struct Document * fromDocument,
        long ArraySize,
        const _variant_t & ObjectArray,
        long * ArrayOutputSize,
        VARIANT * ObjectOutputArray );
    _bstr_t FormatUnit (
        enum UnitTypeConstants UnitType,
        double DataBaseUnits );
    HRESULT ModelToWindow (
        double modelX,
        double modelY,
        long * windowX,
        long * windowY );
    double ParseUnit (
        enum UnitTypeConstants UnitType,
        _bstr_t InputUnits );
    HRESULT Fit ( );
    HRESULT ZoomArea (
        long windowX1,
        long windowY1,
        long windowX2,
        long windowY2 );

    // Properties:
    DocumentPtr GetActiveDocument ( );
    void PutActiveDocument ( struct Document * _val );
    SectionPtr GetActiveSection ( );
    void PutActiveSection ( struct Section * _val );
    SelectSetPtr GetActiveSelectSet ( );
    void PutActiveSelectSet ( struct SelectSet * _val );
    SheetPtr GetActiveSheet ( );
    void PutActiveSheet ( struct Sheet * _val );
    _bstr_t GetActiveTextStyle ( );
    void PutActiveTextStyle ( _bstr_t _val );
    enum PrecisionConstants GetAngleDecimalPrecision ( );
    void PutAngleDecimalPrecision ( enum PrecisionConstants _val );
    enum ReadoutUnitConstants GetAngleUnit ( );
    void PutAngleUnit ( enum ReadoutUnitConstants _val );
    enum PrecisionConstants GetAreaDecimalPrecision ( );
    void PutAreaDecimalPrecision ( enum PrecisionConstants _val );
    enum ReadoutUnitConstants GetAreaUnit ( );
    void PutAreaUnit ( enum ReadoutUnitConstants _val );
    _bstr_t GetBrowserHome ( );
    void PutBrowserHome ( _bstr_t _val );
    VARIANT_BOOL GetColorAbsolute ( );
    void PutColorAbsolute ( VARIANT_BOOL _val );
    double GetDataBaseUnitsInMeters ( );
    void PutDataBaseUnitsInMeters ( double _val );
    enum PrecisionConstants GetDistanceDecimalPrecision ( );
    void PutDistanceDecimalPrecision ( enum PrecisionConstants _val );
    enum ReadoutUnitConstants GetDistanceUnit ( );
    void PutDistanceUnit ( enum ReadoutUnitConstants _val );
    DocumentsPtr GetDocuments ( );
    void PutDocuments ( struct Documents * _val );
    FillStylesPtr GetFillStyles ( );
    void PutFillStyles ( struct FillStyles * _val );
    VARIANT_BOOL GetGridDisplay ( );
    void PutGridDisplay ( VARIANT_BOOL _val );
    VARIANT_BOOL GetGridSnapTo ( );
    void PutGridSnapTo ( VARIANT_BOOL _val );
    HatchPatternStylesPtr GetHatchPatternStyles ( );
    void PutHatchPatternStyles ( struct HatchPatternStyles * _val );
    LOLinearStylesPtr GetLOLinearStyles ( );
    void PutLOLinearStyles ( struct LOLinearStyles * _val );
    enum ColorConstants GetOptionsColorHandle ( );
    void PutOptionsColorHandle ( enum ColorConstants _val );
    enum ColorConstants GetOptionsColorHighlight ( );
    void PutOptionsColorHighlight ( enum ColorConstants _val );
    enum ColorConstants GetOptionsColorSelectedElement ( );
    void PutOptionsColorSelectedElement ( enum ColorConstants _val );
    IDispatchPtr GetParent ( );
    void PutParent ( IDispatch * _val );
    LOPointStylesPtr GetLOPointStyles ( );
    void PutLOPointStyles ( struct LOPointStyles * _val );
    PrinterPtr GetPrinter ( );
    void PutPrinter ( struct Printer * _val );
    IDispatchPtr GetRADApplication ( );
    void PutRADApplication ( IDispatch * _val );
    SectionsPtr GetSections ( );
    void PutSections ( struct Sections * _val );
    SheetsPtr GetSheets ( );
    void PutSheets ( struct Sheets * _val );
    SmartFrame2dStylesPtr GetSmartFrame2dStyles ( );
    void PutSmartFrame2dStyles ( struct SmartFrame2dStyles * _val );
    short GetSmartSketchCursorIntentZone ( );
    void PutSmartSketchCursorIntentZone ( short _val );
    short GetSmartSketchCursorToleranceZone ( );
    void PutSmartSketchCursorToleranceZone ( short _val );
    long GetStaticGridIndexCount ( );
    void PutStaticGridIndexCount ( long _val );
    double GetStaticGridSpacing ( );
    void PutStaticGridSpacing ( double _val );
    double GetZoom ( );
    void PutZoom ( double _val );
};

struct __declspec(uuid("a35629e0-13d9-11d4-bf77-00104b62bfb6"))
Document : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetPrinter,put=PutPrinter))
    PrinterPtr Printer;
    __declspec(property(get=GetActiveSection,put=PutActiveSection))
    SectionPtr ActiveSection;
    __declspec(property(get=GetDataBaseUnitsInMeters,put=PutDataBaseUnitsInMeters))
    double DataBaseUnitsInMeters;
    __declspec(property(get=GetFillStyles,put=PutFillStyles))
    FillStylesPtr FillStyles;
    __declspec(property(get=GetHatchPatternStyles,put=PutHatchPatternStyles))
    HatchPatternStylesPtr HatchPatternStyles;
    __declspec(property(get=GetLOLinearStyles,put=PutLOLinearStyles))
    LOLinearStylesPtr LOLinearStyles;
    __declspec(property(get=GetSections,put=PutSections))
    SectionsPtr Sections;
    __declspec(property(get=GetSheets,put=PutSheets))
    SheetsPtr Sheets;
    __declspec(property(get=GetSmartFrame2dStyles,put=PutSmartFrame2dStyles))
    SmartFrame2dStylesPtr SmartFrame2dStyles;
    __declspec(property(get=GetDistanceDecimalPrecision,put=PutDistanceDecimalPrecision))
    enum PrecisionConstants DistanceDecimalPrecision;
    __declspec(property(get=GetAngleDecimalPrecision,put=PutAngleDecimalPrecision))
    enum PrecisionConstants AngleDecimalPrecision;
    __declspec(property(get=GetAngleUnit,put=PutAngleUnit))
    enum ReadoutUnitConstants AngleUnit;
    __declspec(property(get=GetAreaUnit,put=PutAreaUnit))
    enum ReadoutUnitConstants AreaUnit;
    __declspec(property(get=GetDistanceUnit,put=PutDistanceUnit))
    enum ReadoutUnitConstants DistanceUnit;
    __declspec(property(get=GetBrowserHome,put=PutBrowserHome))
    _bstr_t BrowserHome;
    __declspec(property(get=GetLOPointStyles,put=PutLOPointStyles))
    LOPointStylesPtr LOPointStyles;
    __declspec(property(get=GetActiveSheet,put=PutActiveSheet))

⌨️ 快捷键说明

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