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

📄 acesetup.hpp

📁 suite component ace report
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'AceSetup.pas' rev: 3.00

#ifndef AceSetupHPP
#define AceSetupHPP
#include <Windows.hpp>
#include <WinSpool.hpp>
#include <AcePSet.hpp>
#include <Classes.hpp>
#include <AceTypes.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Acesetup
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAcePrinterSetup;
class PASCALIMPLEMENTATION TAcePrinterSetup : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	int FOrientation;
	int FPaperSize;
	double FLength;
	double FWidth;
	int FScale;
	int FCopies;
	int FSource;
	int FPrintQuality;
	int FColor;
	int FDuplex;
	int FYResolution;
	int FTTOption;
	bool FCollatedCopies;
	System::AnsiString FFormName;
	double FLeftPrintArea;
	double FRightPrintArea;
	double FTopPrintArea;
	double FBottomPrintArea;
	Acepset::TAcePrinterSettings* FPrinterSettings;
	bool FPrintSet[14];
	
protected:
	int __fastcall GetPrinterCount(void);
	int __fastcall GetXPixels(void);
	int __fastcall GetYPixels(void);
	void __fastcall SetOrientation(int Value);
	void __fastcall SetPaperSize(int Value);
	void __fastcall SetLength(double Value);
	void __fastcall SetWidth(double Value);
	void __fastcall SetScale(int Value);
	void __fastcall SetCopies(int Value);
	void __fastcall SetSource(int Value);
	void __fastcall SetPrintQuality(int Value);
	void __fastcall SetColor(int Value);
	void __fastcall SetDuplex(int Value);
	void __fastcall SetYResolution(int Value);
	void __fastcall SetTTOption(int Value);
	void __fastcall SetCollatedCopies(bool Value);
	void __fastcall SetFormName(System::AnsiString Value);
	
public:
	__fastcall virtual TAcePrinterSetup(void);
	__fastcall virtual ~TAcePrinterSetup(void);
	virtual void __fastcall Assign(System::TObject* Source);
	void __fastcall CopyToPrinterSettings(void);
	void __fastcall CopyFromPrinterSettings(void);
	void __fastcall ClearSettings(void);
	void __fastcall SetPrintInfo(const Acetypes::TAceFilePrinterInfo &pinfo);
	void __fastcall GetPrintInfo(Acetypes::TAceFilePrinterInfo &pinfo);
	bool __fastcall ReadFromAceFile(System::TObject* af);
	bool __fastcall ReadFromStream(Classes::TStream* Stream);
	void __fastcall WriteToAceFile(System::TObject* af);
	void __fastcall WriteToStream(Classes::TStream* Stream);
	void __fastcall SetData(void);
	void __fastcall GetData(void);
	__property int PrinterCount = {read=GetPrinterCount, nodefault};
	__property int PixelsPerInchX = {read=GetXPixels, nodefault};
	__property int PixelsPerInchY = {read=GetYPixels, nodefault};
	__property double LeftPrintArea = {read=FLeftPrintArea};
	__property double TopPrintArea = {read=FTopPrintArea};
	__property double RightPrintArea = {read=FRightPrintArea};
	__property double BottomPrintArea = {read=FBottomPrintArea};
	__property int Orientation = {read=FOrientation, write=SetOrientation, nodefault};
	__property int PaperSize = {read=FPaperSize, write=SetPaperSize, nodefault};
	__property double Length = {read=FLength, write=SetLength};
	__property double Width = {read=FWidth, write=SetWidth};
	__property int Scale = {read=FScale, write=SetScale, nodefault};
	__property int Copies = {read=FCopies, write=SetCopies, nodefault};
	__property int Source = {read=FSource, write=SetSource, nodefault};
	__property int PrintQuality = {read=FPrintQuality, write=SetPrintQuality, nodefault};
	__property int Color = {read=FColor, write=SetColor, nodefault};
	__property int Duplex = {read=FDuplex, write=SetDuplex, nodefault};
	__property int YResolution = {read=FYResolution, write=SetYResolution, nodefault};
	__property int TTOption = {read=FTTOption, write=SetTTOption, nodefault};
	__property bool CollatedCopies = {read=FCollatedCopies, write=SetCollatedCopies, nodefault};
	__property System::AnsiString FormName = {read=FFormName, write=SetFormName};
	bool __fastcall IsEqual(TAcePrinterSetup* ps);
	bool __fastcall IsRunningEqual(TAcePrinterSetup* ps);
};

//-- var, const, procedure ---------------------------------------------------
#define ACEPAPER_USECURRENT (Word)(9999)

}	/* namespace Acesetup */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Acesetup;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// AceSetup

⌨️ 快捷键说明

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