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

📄 gmlayout.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    SheetPtr ActiveSheet;
    __declspec(property(get=GetAreaDecimalPrecision,put=PutAreaDecimalPrecision))
    enum PrecisionConstants AreaDecimalPrecision;

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

    // Methods:
    HRESULT Close (
        VARIANT_BOOL SaveFile );
    HRESULT Save ( );
    HRESULT SaveAs (
        _bstr_t Name );
    HRESULT AddDocumentObjects (
        struct Document * fromDocument,
        long ArraySize,
        const _variant_t & ObjectArray,
        long * ArrayOutputSize,
        VARIANT * ObjectOutputArray );
    _bstr_t FormatUnit (
        enum UnitTypeConstants UnitType,
        double DataBaseUnits );
    double ParseUnit (
        enum UnitTypeConstants UnitType,
        _bstr_t InputUnits );

    // Properties:
    PrinterPtr GetPrinter ( );
    void PutPrinter ( struct Printer * _val );
    SectionPtr GetActiveSection ( );
    void PutActiveSection ( struct Section * _val );
    double GetDataBaseUnitsInMeters ( );
    void PutDataBaseUnitsInMeters ( double _val );
    FillStylesPtr GetFillStyles ( );
    void PutFillStyles ( struct FillStyles * _val );
    HatchPatternStylesPtr GetHatchPatternStyles ( );
    void PutHatchPatternStyles ( struct HatchPatternStyles * _val );
    LOLinearStylesPtr GetLOLinearStyles ( );
    void PutLOLinearStyles ( struct LOLinearStyles * _val );
    SectionsPtr GetSections ( );
    void PutSections ( struct Sections * _val );
    SheetsPtr GetSheets ( );
    void PutSheets ( struct Sheets * _val );
    SmartFrame2dStylesPtr GetSmartFrame2dStyles ( );
    void PutSmartFrame2dStyles ( struct SmartFrame2dStyles * _val );
    enum PrecisionConstants GetDistanceDecimalPrecision ( );
    void PutDistanceDecimalPrecision ( enum PrecisionConstants _val );
    enum PrecisionConstants GetAngleDecimalPrecision ( );
    void PutAngleDecimalPrecision ( enum PrecisionConstants _val );
    enum ReadoutUnitConstants GetAngleUnit ( );
    void PutAngleUnit ( enum ReadoutUnitConstants _val );
    enum ReadoutUnitConstants GetAreaUnit ( );
    void PutAreaUnit ( enum ReadoutUnitConstants _val );
    enum ReadoutUnitConstants GetDistanceUnit ( );
    void PutDistanceUnit ( enum ReadoutUnitConstants _val );
    _bstr_t GetBrowserHome ( );
    void PutBrowserHome ( _bstr_t _val );
    LOPointStylesPtr GetLOPointStyles ( );
    void PutLOPointStyles ( struct LOPointStyles * _val );
    SheetPtr GetActiveSheet ( );
    void PutActiveSheet ( struct Sheet * _val );
    enum PrecisionConstants GetAreaDecimalPrecision ( );
    void PutAreaDecimalPrecision ( enum PrecisionConstants _val );
};

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

    __declspec(property(get=GetDeviceName,put=PutDeviceName))
    _bstr_t DeviceName;
    __declspec(property(get=GetDriverName,put=PutDriverName))
    _bstr_t DriverName;
    __declspec(property(get=GetPortName,put=PutPortName))
    _bstr_t PortName;
    __declspec(property(get=GetComment,put=PutComment))
    _bstr_t Comment;
    __declspec(property(get=GetStatus,put=PutStatus))
    _bstr_t Status;
    __declspec(property(get=GetPaperSize,put=PutPaperSize))
    long PaperSize;
    __declspec(property(get=GetPaperOrientation,put=PutPaperOrientation))
    long PaperOrientation;
    __declspec(property(get=GetCopies,put=PutCopies))
    long Copies;
    __declspec(property(get=GetCollate,put=PutCollate))
    VARIANT_BOOL Collate;
    __declspec(property(get=GetPrintToFile,put=PutPrintToFile))
    VARIANT_BOOL PrintToFile;
    __declspec(property(get=GetPrintToFileName,put=PutPrintToFileName))
    _bstr_t PrintToFileName;
    __declspec(property(get=GetPureBlackAndWhite,put=PutPureBlackAndWhite))
    VARIANT_BOOL PureBlackAndWhite;
    __declspec(property(get=GetBestFit,put=PutBestFit))
    VARIANT_BOOL BestFit;
    __declspec(property(get=GetZoom,put=PutZoom))
    double Zoom;
    __declspec(property(get=GetCentered,put=PutCentered))
    VARIANT_BOOL Centered;
    __declspec(property(get=GetXOffset,put=PutXOffset))
    double XOffset;
    __declspec(property(get=GetYOffset,put=PutYOffset))
    double YOffset;

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

    // Methods:
    HRESULT PrintAllSheets ( );
    HRESULT PrintSelectedSheets ( );
    HRESULT PrintSheet (
        const _variant_t & index );
    HRESULT PrintArea (
        double X1,
        double Y1,
        double X2,
        double Y2 );
    HRESULT DisplayPropertiesDialog (
        long HWnd,
        long * Result );
    HRESULT SaveSettings ( );
    HRESULT LoadSettings ( );

    // Properties:
    _bstr_t GetDeviceName ( );
    void PutDeviceName ( _bstr_t _val );
    _bstr_t GetDriverName ( );
    void PutDriverName ( _bstr_t _val );
    _bstr_t GetPortName ( );
    void PutPortName ( _bstr_t _val );
    _bstr_t GetComment ( );
    void PutComment ( _bstr_t _val );
    _bstr_t GetStatus ( );
    void PutStatus ( _bstr_t _val );
    long GetPaperSize ( );
    void PutPaperSize ( long _val );
    long GetPaperOrientation ( );
    void PutPaperOrientation ( long _val );
    long GetCopies ( );
    void PutCopies ( long _val );
    VARIANT_BOOL GetCollate ( );
    void PutCollate ( VARIANT_BOOL _val );
    VARIANT_BOOL GetPrintToFile ( );
    void PutPrintToFile ( VARIANT_BOOL _val );
    _bstr_t GetPrintToFileName ( );
    void PutPrintToFileName ( _bstr_t _val );
    VARIANT_BOOL GetPureBlackAndWhite ( );
    void PutPureBlackAndWhite ( VARIANT_BOOL _val );
    VARIANT_BOOL GetBestFit ( );
    void PutBestFit ( VARIANT_BOOL _val );
    double GetZoom ( );
    void PutZoom ( double _val );
    VARIANT_BOOL GetCentered ( );
    void PutCentered ( VARIANT_BOOL _val );
    double GetXOffset ( );
    void PutXOffset ( double _val );
    double GetYOffset ( );
    void PutYOffset ( double _val );
};

struct __declspec(uuid("e88ecc21-8428-11d4-bf93-00104b62bfb6"))
Section : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=Get_Name,put=Put_Name))
    _bstr_t _Name;
    __declspec(property(get=GetParent,put=PutParent))
    DocumentPtr Parent;
    __declspec(property(get=GetSheets,put=PutSheets))
    SectionSheetsPtr Sheets;

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

    // Methods:
    HRESULT Activate ( );
    HRESULT Delete ( );
    HRESULT Move (
        const _variant_t & InsertBefore,
        const _variant_t & InsertAfter );

    // Properties:
    _bstr_t GetName ( );
    void PutName ( _bstr_t _val );
    _bstr_t Get_Name ( );
    void Put_Name ( _bstr_t _val );
    DocumentPtr GetParent ( );
    void PutParent ( struct Document * _val );
    SectionSheetsPtr GetSheets ( );
    void PutSheets ( struct SectionSheets * _val );
};

struct __declspec(uuid("e88ecc22-8428-11d4-bf93-00104b62bfb6"))
SectionSheets : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=Get_Item))
    SheetPtr _Item[];
    __declspec(property(get=GetItem))
    SheetPtr Item[];
    __declspec(property(get=Get_NewEnum,put=Put_NewEnum))
    IUnknownPtr _NewEnum;
    __declspec(property(get=GetParent,put=PutParent))
    DocumentPtr Parent;
    __declspec(property(get=GetCount,put=PutCount))
    long Count;

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

    // Methods:
    HRESULT Add (
        struct Sheet * Sheet );
    SheetPtr GetItem (
        const _variant_t & index );
    SheetPtr Get_Item (
        const _variant_t & index );

    // Properties:
    IUnknownPtr Get_NewEnum ( );
    void Put_NewEnum ( IUnknown * _val );
    DocumentPtr GetParent ( );
    void PutParent ( struct Document * _val );
    long GetCount ( );
    void PutCount ( long _val );
};

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

    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetVisible,put=PutVisible))
    VARIANT_BOOL Visible;
    __declspec(property(get=GetBackgroundVisible,put=PutBackgroundVisible))
    VARIANT_BOOL BackgroundVisible;
    __declspec(property(get=GetBackground,put=PutBackground))
    SheetPtr Background;
    __declspec(property(get=GetArcs2d,put=PutArcs2d))
    Arcs2dPtr Arcs2d;
    __declspec(property(get=GetBoundaries2d,put=PutBoundaries2d))
    Boundaries2dPtr Boundaries2d;
    __declspec(property(get=GetGroups,put=PutGroups))
    GroupsPtr Groups;
    __declspec(property(get=GetLines2d,put=PutLines2d))
    Lines2dPtr Lines2d;
    __declspec(property(get=GetParent,put=PutParent))
    IDispatchPtr Parent;
    __declspec(property(get=GetPoints2d,put=PutPoints2d))
    Points2dPtr Points2d;
    __declspec(property(get=GetSection,put=PutSection))
    SectionPtr Section;
    __declspec(property(get=GetSheetSetup,put=PutSheetSetup))
    SheetSetupPtr SheetSetup;
    __declspec(property(get=GetSmartFrames2d,put=PutSmartFrames2d))
    SmartFrames2dPtr SmartFrames2d;
    __declspec(property(get=GetSymbols,put=PutSymbols))
    SymbolsPtr Symbols;
    __declspec(property(get=GetTextBoxes,put=PutTextBoxes))
    TextBoxesPtr TextBoxes;
    __declspec(property(get=GetRectangles2d,put=PutRectangles2d))
    Rectangles2dPtr Rectangles2d;
    __declspec(property(get=GetDrawingObjects,put=PutDrawingObjects))
    DrawingObjectsPtr DrawingObjects;

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

    // Methods:
    HRESULT Activate ( );
    HRESULT Delete ( );
    HRESULT Paste (
        VARIANT * ArrayOutputSize = &vtMissing,
        VARIANT * ObjectOutputArray = &vtMissing );
    HRESULT ExportLayout (
        _bstr_t Filename,
        const _variant_t & bStripBackground = vtMissing,
        const _variant_t & bStripMoniker = vtMissing );

    // Properties:
    _bstr_t GetName ( );
    void PutName ( _bstr_t _val );
    VARIANT_BOOL GetVisible ( );
    void PutVisible ( VARIANT_BOOL _val );
    VARIANT_BOOL GetBackgroundVisible ( );
    void PutBackgroundVisible ( VARIANT_BOOL _val );
    SheetPtr GetBackground ( );
    void PutBackground ( struct Sheet * _val );
    Arcs2dPtr GetArcs2d ( );
    void PutArcs2d ( struct Arcs2d * _val );
    Boundaries2dPtr GetBoundaries2d ( );
    void PutBoundaries2d ( struct Boundaries2d * _val );
    GroupsPtr GetGroups ( );
    void PutGroups ( struct Groups * _val );
    Lines2dPtr GetLines2d ( );
    void PutLines2d ( struct Lines2d * _val );
    IDispatchPtr GetParent ( );
    void PutParent ( IDispatch * _val );
    Points2dPtr GetPoints2d ( );
    void PutPoints2d ( struct Points2d * _val );
    SectionPtr GetSection ( );
    void PutSection ( struct Section * _val );
    SheetSetupPtr GetSheetSetup ( );
    void PutSheetSetup ( struct SheetSetup * _val );
    SmartFrames2dPtr GetSmartFrames2d ( );
    void PutSmartFrames2d ( struct SmartFrames2d * _val );
    SymbolsPtr GetSymbols ( );
    void PutSymbols ( struct Symbols * _val );
    TextBoxesPtr GetTextBoxes ( );
    void PutTextBoxes ( struct TextBoxes * _val );
    Rectangles2dPtr GetRectangles2d ( );
    void PutRectangles2d ( struct Rectangles2d * _val );
    DrawingObjectsPtr GetDrawingObjects ( );
    void PutDrawingObjects ( struct DrawingObjects * _val );
};

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

    __declspec(property(get=Get_Item))
    Arc2dPtr _Item[];
    __declspec(property(get=GetItem))
    Arc2dPtr 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:
    Arc2dPtr AddByStartAlongEnd (
        double xStart,
        double yStart,
        double xAlong,
        double yAlong,
        double xEnd,
        double yEnd );
    Arc2dPtr AddByCenterStartEnd (
        double xCenter,
        double yCenter,
        double xStart,
        double yStart,
        double xEnd,
        double yEnd );
    Arc2dPtr GetItem (
        const _variant_t & index );
    Arc2dPtr Get_Item (
        const _variant_t & index );

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

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

    __declspec(property(get=Getindex,put=Putindex))
    long index;
    __declspec(property(get=GetType,put=PutType))

⌨️ 快捷键说明

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