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

📄 znpdf2image.tli

📁 i am server im imi mim im im
💻 TLI
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (78696eee).
//
// h:\documents and settings\administrator\桌面\znpdf2image\znpdf2image\test\debug\ZnPDF2Image.tli
//
// Wrapper implementations for Win32 type library ..\ZnPDF2Image.tlb
// compiler-generated file created 05/08/05 at 10:34:08 - DO NOT EDIT!

#pragma once

//
// dispinterface _IPDF2ImageEvents wrapper method implementations
//

inline _bstr_t _IPDF2ImageEvents::QueryPassword ( _bstr_t filename ) {
    BSTR _result;
    _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0008", (BSTR)filename);
    return _bstr_t(_result, false);
}

inline HRESULT _IPDF2ImageEvents::PasswordIncorrect ( _bstr_t filename ) {
    return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)filename);
}

//
// interface IPDF2Image wrapper method implementations
//

inline HRESULT IPDF2Image::Initialize ( _bstr_t bstrSN, long reserved ) {
    HRESULT _hr = raw_Initialize(bstrSN, reserved);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::Uninitialize ( ) {
    HRESULT _hr = raw_Uninitialize();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::OpenFile ( const _variant_t & pdffile, _bstr_t password ) {
    HRESULT _hr = raw_OpenFile(pdffile, password);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::CloseFile ( ) {
    HRESULT _hr = raw_CloseFile();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline long IPDF2Image::GetPageCount ( ) {
    long _result;
    HRESULT _hr = raw_GetPageCount(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

inline HRESULT IPDF2Image::SetScale ( float scale, long dpi ) {
    HRESULT _hr = raw_SetScale(scale, dpi);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::SetSize ( long width, long height, VARIANT_BOOL bKeepRatio ) {
    HRESULT _hr = raw_SetSize(width, height, bKeepRatio);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToBMP ( long pageno, _bstr_t imagefile, enum BPPEnum bitsPerPixel, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToBMP(pageno, imagefile, bitsPerPixel, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToJPEG ( long pageno, _bstr_t imagefile, long quality, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToJPEG(pageno, imagefile, quality, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToJPEG2000 ( long pageno, _bstr_t imagefile, long quality, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToJPEG2000(pageno, imagefile, quality, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToTIFF ( long pageno, _bstr_t imgfile, enum BPPEnum bitsPerPixel, enum TIFFCompressEnum comp_mode, long flag, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToTIFF(pageno, imgfile, bitsPerPixel, comp_mode, flag, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToMultiTIFF ( _bstr_t pageRange, _bstr_t imgfile, enum BPPEnum bitsPerPixel, enum TIFFCompressEnum comp_mode, long flag, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToMultiTIFF(pageRange, imgfile, bitsPerPixel, comp_mode, flag, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToGIF ( long pageno, _bstr_t imgfile, long * pWidth, long * pHeight ) {
    HRESULT _hr = raw_PrintToGIF(pageno, imgfile, pWidth, pHeight);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IPDF2Image::PrintToHBitmap ( long pageno, enum BPPEnum bitsPerPixel, long * pHBitmap ) {
    HRESULT _hr = raw_PrintToHBitmap(pageno, bitsPerPixel, pHBitmap);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline VARIANT_BOOL IPDF2Image::GetremoveMargin ( ) {
    VARIANT_BOOL _result;
    HRESULT _hr = get_removeMargin(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

inline void IPDF2Image::PutremoveMargin ( VARIANT_BOOL pVal ) {
    HRESULT _hr = put_removeMargin(pVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

inline enum RotationEnum IPDF2Image::Getrotation ( ) {
    enum RotationEnum _result;
    HRESULT _hr = get_rotation(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

inline void IPDF2Image::Putrotation ( enum RotationEnum pVal ) {
    HRESULT _hr = put_rotation(pVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

inline enum PrintContentEnum IPDF2Image::Getcontent ( ) {
    enum PrintContentEnum _result;
    HRESULT _hr = get_content(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

inline void IPDF2Image::Putcontent ( enum PrintContentEnum pVal ) {
    HRESULT _hr = put_content(pVal);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}

⌨️ 快捷键说明

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