Click or drag to resize

AnnotatePrintDocument Class

This control derives from DotImage ImagePrintDocument and is used to print images with annotations.
Inheritance Hierarchy

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class AnnotatePrintDocument : ImagePrintDocument

The AnnotatePrintDocument type exposes the following members.

Constructors
  NameDescription
Public methodAnnotatePrintDocument
Creates a new instance of AnnotatePrintDocument.
Public methodAnnotatePrintDocument(AtalaImage)
Creates a new instance of AnnotatePrintDocument specifying the image to print with no annotations.
Public methodAnnotatePrintDocument(AtalaImage)
Creates a new instance of AnnotatePrintDocument specifying the images to print with no annotations.
Public methodAnnotatePrintDocument(ImageCollection)
Creates a new instance of AnnotatePrintDocument specifying the images to print with no annotations.
Public methodAnnotatePrintDocument(AnnotationController, AtalaImage)
Creates a new instance of AnnotatePrintDocument specifying the annotations and image to print.
Public methodAnnotatePrintDocument(AnnotationController, AtalaImage)
Creates a new instance of AnnotatePrintDocument specifying the annotations and images to print.
Public methodAnnotatePrintDocument(AnnotationController, ImageCollection)
Creates a new instance of AnnotatePrintDocument specifying the annotations and images for this print job.
Top
Properties
  NameDescription
Public propertyAnnotations
Gets or sets the AnnotationController which contains all annotations to print.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCenter
Gets or sets a value indicating if the image is centered onto the page.
(Inherited from ImagePrintDocument.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyDefaultPageSettings
Gets or sets page settings that are used as defaults for all pages to be printed.
(Inherited from PrintDocument.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDocumentName
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
(Inherited from PrintDocument.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFitToPage Obsolete.
A value indicating if the image is stretched to fit the page.
(Inherited from ImagePrintDocument.)
Public propertyImage
Gets or sets the AtalaImage to print.
(Inherited from ImagePrintDocument.)
Public propertyImages
Gets or sets the images to print.
(Inherited from ImagePrintDocument.)
Protected propertyImageToPrint
Gets the image that will be printed for this page.
(Inherited from ImagePrintDocument.)
Public propertyOriginAtMargins
Gets or sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page.
(Inherited from PrintDocument.)
Public propertyPrintController
Gets or sets the print controller that guides the printing process.
(Inherited from PrintDocument.)
Public propertyPrinterSettings
Gets or sets the printer that prints the document.
(Inherited from PrintDocument.)
Public propertyScaleMode
Gets or sets the scale mode used when printing an image.
(Inherited from ImagePrintDocument.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyUnits
Gets or sets the units of measure used for the annotation data. This is required in order to correctly scale annotations that are not specified in pixels.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnAfterPrintPage
Called after the OnPrintPage(PrintPageEventArgs) method.
(Inherited from ImagePrintDocument.)
Protected methodOnBeginPrint
Called when printing is about to begin.
(Overrides ImagePrintDocumentOnBeginPrint(PrintEventArgs).)
Protected methodOnEndPrint
Raises the EndPrint event. It is called when the last page of the document has printed.
(Inherited from PrintDocument.)
Protected methodOnGetImage
Raises the GetImage event to obtain the image to print.
(Inherited from ImagePrintDocument.)
Protected methodOnPrintImage
Called when each image needs to be printed.
(Overrides ImagePrintDocumentOnPrintImage(PrintImageEventArgs).)
Protected methodOnPrintPage
Called when a new page needs to be printed.
(Overrides ImagePrintDocumentOnPrintPage(PrintPageEventArgs).)
Protected methodOnQueryPageSettings
Raises the QueryPageSettings event. It is called immediately before each PrintPage event.
(Inherited from PrintDocument.)
Public methodPrint
Starts the document's printing process.
(Inherited from PrintDocument.)
Public methodSetImagesFromImageCollection (Inherited from ImagePrintDocument.)
Public methodToString
Provides information about the print document, in string form.
(Inherited from PrintDocument.)
Top
Events
  NameDescription
Public eventAfterPrintPage
Occurs after image is prepared to print.
(Inherited from ImagePrintDocument.)
Public eventBeginPrint
Occurs when the Print method is called and before the first page of the document prints.
(Inherited from PrintDocument.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventEndPrint
Occurs when the last page of the document has printed.
(Inherited from PrintDocument.)
Public eventCode exampleGetImage
Occurs when the print job requires the next image to print.
(Inherited from ImagePrintDocument.)
Public eventPrintImage
Occurs just before the image is printed.
(Inherited from ImagePrintDocument.)
Public eventPrintPage
Occurs when the output to print for the current page is needed.
(Inherited from PrintDocument.)
Public eventQueryPageSettings
Occurs immediately before each PrintPage event.
(Inherited from PrintDocument.)
Top
Remarks
The AnnotatePrintDocument can be used with the other printing .NET components for specifying page settings, printer settings, and a print preview. See the PrintDialog, PrintPreviewDialog, PrintPreviewControl, PrintDocument, and PageSetupDialog controls in the toolbox.
See Also