IDocumentPrinter

Description

The IDocumentPrinter interface contains properties and methods of the DocumentPrinter development environment component.

Properties

   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

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

See also:

Forms Assembly Interfaces