lines.rtf

来自「一个后成PDF文件的控件」· RTF 代码 · 共 29 行

RTF
29
字号
Suite Overview

EMS QuickPDF component suite represents a set of tools for generating PDF documents with text, links, images, tables, etc. None of the mechanisms of cooperation between applications in Microsoft Windows environment (DDE, OLE) is used when generating PDF documents, which ensures an extremely high speed of work.

The suite consists of the main TQuickPDF component and a set of different objects describing PDF elements

TQuickPdf Component

TQuickPDF component is the main component of the suit. In this class the basic properties of the document are determined, and so are the three basic methods - GenerateToString, GenerateToFile, and GenerateToStream.

TQuickPdf.GenerateToFile 

Use GeneratetoFile to generate a document to the file, specified by the FileName property. 

TQuickPdf.GenerateToStream 

Use GenerateToStream to generate a document to the stream, specified by the Stream parameter. This can be any TStream descendant.

TQuickPdf.GenerateToString 

Use GenerateToString to generate a document to a string that is returned as a result of the function execution.

TQuickPdf.FileName 

The FileName property defines the name of the result PDF document. The property must not be empty; if it is empty in the moment of the GenerateToFile method invocation, the component will stop being executed having generated an exception with the message  'FileName property is not assigned'.



⌨️ 快捷键说明

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