FMX.Printer.TPrinterDeviceDocument.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AName, AExtension: string);

C++

__fastcall TPrinterDeviceDocument(const System::UnicodeString AName, const System::UnicodeString AExtension);

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Printer.pas
FMX.Printer.hpp
FMX.Printer TPrinterDeviceDocument

Description

Creates an instance of a TPrinterDevice component.

FMX.Printer.TPrinterDeviceDocument.Create inherits from FMX.Printer.TPrinterDevice.Create. All content below this line refers to FMX.Printer.TPrinterDevice.Create.

Creates an instance of a TPrinterDevice component.

Call Create to create an instance of the printer device. Specify the following parameters in the call to Create:

  • ADriver -- a driver name.
  • ADevice -- a device name.
  • APort -- a port name.