Printer Methods

Include Protected Members
Include Inherited Members

The Printer type exposes the following members.

Methods

  Name Description
Public method Circle(Single, Single, Single, Int32, Single, Single, Single) Prints a circle, an ellipse, or an arc on a page.
Public method Circle(Boolean, Single, Single, Single, Int32, Single, Single, Single) Prints a circle, an ellipse, or an arc on a page, specifying whether the center point is relative to the current location.
Public method EndDoc Ends a print operation sent to the Printer object, releasing the document to the print device or spooler.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method KillDoc Immediately stops the current print job.
Public method Line(Single, Single) Prints lines on a page.
Public method Line(Single, Single, Single, Single, Int32, Boolean, Boolean) Prints lines, squares, or rectangles on a page.
Public method Line(Boolean, Single, Single, Boolean, Single, Single, Int32, Boolean, Boolean) Prints lines, squares, or rectangles on a page.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NewPage Stops the printing on the current page and resumes printing on a new page.
Public method PaintPicture Prints the contents of an image file on a page.
Public method Print Prints text to a page.
Public method PSet(Single, Single) Prints a single point on a page.
Public method PSet(Single, Single, Int32) Prints a single point in a specified color on a page.
Public method PSet(Boolean, Single, Single, Int32) Prints a single point in a specified color on a page, optionally specifying a point relative to the current coordinates.
Public method Scale() Defines the coordinate system of the Printer object.
Public method Scale(Single, Single, Single, Single) Defines the coordinate system of the Printer object.
Public method ScaleX Converts the value for the width of a page from one of the units of measure of the ScaleMode property to another.
Public method ScaleY Converts the value for the height of a page from one of the units of measure of the ScaleMode property to another.
Public method TextHeight Returns the height of a text string as it would be printed in the current font.
Public method TextWidth Returns the width of a text string as it would be printed in the current font.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Write Prints text to a page without adding a carriage return.

Top

See Also

Reference

Printer Class

Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 Namespace