modi_ocx.h
来自「微软的虚拟打印组件」· C头文件 代码 · 共 954 行 · 第 1/3 页
H
954 行
__property IPictureDispPtr Picture={ read=get_Picture };
__property Modi_tlb::MiCOMP_TYPE Compression={ read=get_Compression };
private:
__published:
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TWord
// Help String : Word Class
// Default Interface: IWord
// Def. Intf. Object: IWordPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TWord : public Oleserver::TOleServer
{
IWordPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TWord(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IWordPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IWordPtr intf);
short __fastcall get_RecognitionConfidence(void)
{
return GetDefaultInterface()->get_RecognitionConfidence();
}
long __fastcall get_FontId(void)
{
return GetDefaultInterface()->get_FontId();
}
long __fastcall get_LineId(void)
{
return GetDefaultInterface()->get_LineId();
}
long __fastcall get_RegionId(void)
{
return GetDefaultInterface()->get_RegionId();
}
BSTR __fastcall get_Text(void)
{
return GetDefaultInterface()->get_Text();
}
Modi_tlb::IMiFontPtr __fastcall get_Font(void)
{
return GetDefaultInterface()->get_Font();
}
long __fastcall get_Id(void)
{
return GetDefaultInterface()->get_Id();
}
Modi_tlb::IMiRectsPtr __fastcall get_Rects(void)
{
return GetDefaultInterface()->get_Rects();
}
__property short RecognitionConfidence={ read=get_RecognitionConfidence };
__property long FontId={ read=get_FontId };
__property long LineId={ read=get_LineId };
__property long RegionId={ read=get_RegionId };
__property BSTR Text={ read=get_Text };
__property Modi_tlb::IMiFontPtr Font={ read=get_Font };
__property long Id={ read=get_Id };
__property Modi_tlb::IMiRectsPtr Rects={ read=get_Rects };
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TMiFont
// Help String : MiFont Class
// Default Interface: IMiFont
// Def. Intf. Object: IMiFontPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TMiFont : public Oleserver::TOleServer
{
IMiFontPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TMiFont(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IMiFontPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IMiFontPtr intf);
Modi_tlb::MiFONT_FAMILY __fastcall get_Family(void)
{
return GetDefaultInterface()->get_Family();
}
Modi_tlb::MiFONT_FACE_STYLE __fastcall get_FaceStyle(void)
{
return GetDefaultInterface()->get_FaceStyle();
}
Modi_tlb::MiFONT_SERIF_STYLE __fastcall get_SerifStyle(void)
{
return GetDefaultInterface()->get_SerifStyle();
}
short __fastcall get_FontSize(void)
{
return GetDefaultInterface()->get_FontSize();
}
__property Modi_tlb::MiFONT_FAMILY Family={ read=get_Family };
__property Modi_tlb::MiFONT_FACE_STYLE FaceStyle={ read=get_FaceStyle };
__property Modi_tlb::MiFONT_SERIF_STYLE SerifStyle={ read=get_SerifStyle };
__property short FontSize={ read=get_FontSize };
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TWords
// Help String : Words Class
// Default Interface: IWords
// Def. Intf. Object: IWordsPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TWords : public Oleserver::TOleServer
{
IWordsPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TWords(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IWordsPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IWordsPtr intf);
long __fastcall get_Count(void)
{
return GetDefaultInterface()->get_Count();
}
LPUNKNOWN __fastcall get__NewEnum(void)
{
return GetDefaultInterface()->get__NewEnum();
}
LPDISPATCH __fastcall get_Item(long Index/*[in]*/)
{
return GetDefaultInterface()->get_Item(Index/*[in]*/);
}
__property long Count={ read=get_Count };
__property LPUNKNOWN _NewEnum={ read=get__NewEnum };
__property LPDISPATCH Item[long Index]={ read=get_Item };
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TImages
// Help String : Images Class
// Default Interface: IImages
// Def. Intf. Object: IImagesPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TImages : public Oleserver::TOleServer
{
IImagesPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TImages(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IImagesPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IImagesPtr intf);
long __fastcall get_Count(void)
{
return GetDefaultInterface()->get_Count();
}
LPUNKNOWN __fastcall get__NewEnum(void)
{
return GetDefaultInterface()->get__NewEnum();
}
LPDISPATCH __fastcall get_Item(long Index/*[in]*/)
{
return GetDefaultInterface()->get_Item(Index/*[in]*/);
}
void __fastcall Add(LPDISPATCH Page/*[in]*/, LPDISPATCH BeforePage/*[in]*/)
{
GetDefaultInterface()->Add(Page/*[in]*/, BeforePage/*[in]*/);
}
void __fastcall Remove(LPDISPATCH Page/*[in]*/)
{
GetDefaultInterface()->Remove(Page/*[in]*/);
}
__property long Count={ read=get_Count };
__property LPUNKNOWN _NewEnum={ read=get__NewEnum };
__property LPDISPATCH Item[long Index]={ read=get_Item };
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TMiRect
// Help String : MiRect Class
// Default Interface: IMiRect
// Def. Intf. Object: IMiRectPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TMiRect : public Oleserver::TOleServer
{
IMiRectPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TMiRect(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IMiRectPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IMiRectPtr intf);
long __fastcall get_Top(void)
{
return GetDefaultInterface()->get_Top();
}
long __fastcall get_Left(void)
{
return GetDefaultInterface()->get_Left();
}
long __fastcall get_Right(void)
{
return GetDefaultInterface()->get_Right();
}
long __fastcall get_Bottom(void)
{
return GetDefaultInterface()->get_Bottom();
}
__property long Top={ read=get_Top };
__property long Left={ read=get_Left };
__property long Right={ read=get_Right };
__property long Bottom={ read=get_Bottom };
};
// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name : TMiRects
// Help String : MiRects Class
// Default Interface: IMiRects
// Def. Intf. Object: IMiRectsPtr
// Def. Intf. DISP? : No
// Event Interface:
// TypeFlags : (2) CanCreate
// *********************************************************************//
class PACKAGE TMiRects : public Oleserver::TOleServer
{
IMiRectsPtr m_DefaultIntf;
_di_IUnknown __fastcall GetDunk();
public:
__fastcall TMiRects(TComponent* owner) : Oleserver::TOleServer(owner)
{}
IMiRectsPtr& GetDefaultInterface();
void __fastcall InitServerData();
void __fastcall Connect();
void __fastcall Disconnect();
void __fastcall BeforeDestruction();
void __fastcall ConnectTo(IMiRectsPtr intf);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?