DocumentPrinter

Description

The DocumentPrinter class implements the DocumentPrinter development environment component that is used to print documents.

Properties inherited from IDocumentPrinter

   Property name Brief description
The Document property returns graphic context of the document that is a data source for the component.
The Source property determines the source, in which the document for printing is placed.
The Tag property is not used by the compiler. The user can change the value of the Tag property and use at his discretion. The property is inherited from IComponent.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

Methods inherited from IDocumentPrinter

   Method name Brief description
The PageSetup method calls the Page Parameters dialog box for the set document.
The Print method prints the document.
The PrintPreview method previews the document before printing.

See also:

Forms Assembly Classes