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

📄 rm_asbarview.hpp

📁 这是一个功能强大
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rm_asbarview.pas' rev: 11.00

#ifndef Rm_asbarviewHPP
#define Rm_asbarviewHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Rm_common.hpp>	// Pascal unit
#include <Rm_class.hpp>	// Pascal unit
#include <Rm_ctrls.hpp>	// Pascal unit
#include <Rm_asbarcode.hpp>	// Pascal unit
#include <Rm_jvinterpreter.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rm_asbarview
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRMAsBarCodeObject;
class PASCALIMPLEMENTATION TRMAsBarCodeObject : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
public:
	#pragma option push -w-inl
	/* TComponent.Create */ inline __fastcall virtual TRMAsBarCodeObject(Classes::TComponent* AOwner) : Classes::TComponent(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TRMAsBarCodeObject(void) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TRMAsBarCodeAngleType { rmatNone, rmat90, rmat180, rmat270 };
#pragma option pop

class DELPHICLASS TRMAsBarCodeInfo;
class PASCALIMPLEMENTATION TRMAsBarCodeInfo : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	Rm_asbarcode::TAsBarcode* FBarCode;
	bool FShowText;
	TRMAsBarCodeAngleType FAngle;
	Graphics::TFont* FFont;
	AnsiString __fastcall GetText();
	void __fastcall SetText(AnsiString Value);
	int __fastcall GetModul(void);
	void __fastcall SetModul(int Value);
	double __fastcall GetRatio(void);
	void __fastcall SetRatio(double Value);
	Rm_asbarcode::TBarcodeType __fastcall GetBarType(void);
	void __fastcall SetBarType(Rm_asbarcode::TBarcodeType Value);
	bool __fastcall GetChecksum(void);
	void __fastcall SetChecksum(bool Value);
	Rm_asbarcode::TCheckSumMethod __fastcall GetCheckSumMethod(void);
	void __fastcall SetCheckSumMethod(Rm_asbarcode::TCheckSumMethod Value);
	void __fastcall SetAngle(TRMAsBarCodeAngleType Value);
	Graphics::TColor __fastcall GetColor(void);
	void __fastcall SetColor(Graphics::TColor Value);
	Graphics::TColor __fastcall GetColorBar(void);
	void __fastcall SetColorBar(Graphics::TColor Value);
	int __fastcall GetBarcodeHeight(void);
	int __fastcall GetBarcodeWidth(void);
	void __fastcall SetBarcodeHeight(const int Value);
	void __fastcall SetBarcodeWidth(const int Value);
	void __fastcall SetTextFont(Graphics::TFont* Value);
	
public:
	__fastcall TRMAsBarCodeInfo(void);
	__fastcall virtual ~TRMAsBarCodeInfo(void);
	__property Rm_asbarcode::TAsBarcode* BarCode = {read=FBarCode, write=FBarCode};
	__property AnsiString Text = {read=GetText, write=SetText};
	__property int BarcodeHeight = {read=GetBarcodeHeight, write=SetBarcodeHeight, nodefault};
	__property int BarcodeWidth = {read=GetBarcodeWidth, write=SetBarcodeWidth, nodefault};
	
__published:
	__property bool ShowText = {read=FShowText, write=FShowText, nodefault};
	__property Rm_asbarcode::TBarcodeType BarType = {read=GetBarType, write=SetBarType, nodefault};
	__property bool Checksum = {read=GetChecksum, write=SetChecksum, nodefault};
	__property Rm_asbarcode::TCheckSumMethod CheckSumMethod = {read=GetCheckSumMethod, write=SetCheckSumMethod, nodefault};
	__property TRMAsBarCodeAngleType Angle = {read=FAngle, write=SetAngle, nodefault};
	__property Graphics::TColor Color = {read=GetColor, write=SetColor, nodefault};
	__property Graphics::TColor ColorBar = {read=GetColorBar, write=SetColorBar, nodefault};
	__property Graphics::TFont* TextFont = {read=FFont, write=SetTextFont};
	__property int Zoom = {read=GetModul, write=SetModul, nodefault};
	__property double Ratio = {read=GetRatio, write=SetRatio};
};


class DELPHICLASS TRMAsBarCodeView;
class PASCALIMPLEMENTATION TRMAsBarCodeView : public Rm_class::TRMReportView 
{
	typedef Rm_class::TRMReportView inherited;
	
private:
	TRMAsBarCodeInfo* FBarInfo;
	bool __fastcall GetDirectDraw(void);
	void __fastcall SetDirectDraw(bool Value);
	bool __fastcall GetAutoSize(void);
	void __fastcall SetAutoSize(bool Value);
	
protected:
	virtual AnsiString __fastcall GetViewCommon();
	virtual void __fastcall PlaceOnEndPage(Classes::TStream* aStream);
	
public:
	__fastcall virtual TRMAsBarCodeView(void);
	__fastcall virtual ~TRMAsBarCodeView(void);
	virtual void __fastcall LoadFromStream(Classes::TStream* aStream);
	virtual void __fastcall SaveToStream(Classes::TStream* aStream);
	virtual void __fastcall Draw(Graphics::TCanvas* aCanvas);
	virtual void __fastcall DefinePopupMenu(Rm_ctrls::TRMCustomMenuItem* aPopup);
	virtual void __fastcall ShowEditor(void);
	__property bool DirectDraw = {read=GetDirectDraw, write=SetDirectDraw, nodefault};
	__property bool AutoSize = {read=GetAutoSize, write=SetAutoSize, nodefault};
	
__published:
	__property TRMAsBarCodeInfo* BarInfo = {read=FBarInfo, write=FBarInfo};
	__property LeftFrame ;
	__property TopFrame ;
	__property RightFrame ;
	__property BottomFrame ;
	__property FillColor ;
	__property DataField ;
	__property PrintFrame ;
	__property Printable ;
	__property GapLeft ;
	__property GapTop ;
	__property OnPreviewClick ;
	__property OnPreviewClickUrl ;
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Rm_asbarview */
using namespace Rm_asbarview;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Rm_asbarview

⌨️ 快捷键说明

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