Printer Properties
Include Protected Members
Include Inherited Members
The Printer type exposes the following members.
Properties
Name | Description | |
---|---|---|
ColorMode | Gets or sets a value specifying whether the output will print in color or in monochrome on a device that supports color. | |
Copies | Gets or sets a value that determines the number of copies to be printed. | |
CurrentX | Gets or sets the horizontal coordinates for the next printing or drawing method. | |
CurrentY | Gets or sets the vertical coordinates for the next printing or drawing method. | |
DeviceName | Gets the name of the current printer. | |
DocumentName | Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document. | |
DrawStyle | Gets or sets a value that determines the line style for output from graphics methods. | |
DrawWidth | Gets or sets the line width for output from graphics methods. | |
Duplex | Gets or sets a value that determines whether a page is printed on both sides (if the printer supports this feature). | |
FillColor | Gets or sets the color that is used to fill in shapes created by using the Circle and Line graphics methods. | |
FillStyle | Gets or sets the pattern used to fill shapes created by using the Circle and Line graphics methods. | |
Font | Gets or sets a FontFamily by name. | |
FontBold | Gets or sets the bold font style. | |
FontCount | Returns the number of fonts available for the current display device or active printer. | |
FontItalic | Gets or sets the italic font style. | |
FontName | Gets or sets the name of the font in which text is displayed for a printing operation. | |
Fonts | Gets all font names that are available for the current printer. | |
FontSize | Gets or sets the size of the font that is used for text in a run-time printing operation. | |
FontStrikethru | Gets or sets the strikethrough font style. | |
FontTransparent | Gets or sets a value that determines whether background graphics on a Printer object are printed behind text characters. | |
FontUnderline | Gets or sets the underlined font style. | |
ForeColor | Gets or sets the color in which text and graphics are printed. | |
Height | Gets or sets the height of a page. | |
IsDefaultPrinter | Returns a value that determines whether the currently selected printer is defined as the default printer in Control Panel. | |
Orientation | Gets or sets a value indicating whether documents are printed in portrait or landscape mode. | |
Page | Returns the page number of the page that is currently being printed. | |
PaperBin | Gets or sets a value indicating the default paper bin on the printer from which paper is fed during print operations. | |
PaperSize | Gets or sets a value indicating the paper size for the current printer. | |
PrintAction | Gets or sets a value that determines whether the print output is directed to a printer, to a print preview window, or to a file. | |
PrintFileName | Gets or sets a value that specifies the file name of an Encapsulated PostScript file and the path to which the file will be saved when the PrintAction property is set to PrintToFile. | |
PrintQuality | Gets or sets a value that indicates the printer resolution. | |
RightToLeft | Gets or sets a Boolean value that indicates the text display direction on a right-to-left system. | |
ScaleHeight | Gets or sets the number of units for the vertical measurement of the page when you use graphics methods. | |
ScaleLeft | Gets or sets the horizontal coordinates for the left edge of the page when you are using graphics methods. | |
ScaleMode | Gets or sets a value indicating the unit of measurement for the coordinates of an object when you are using graphics methods. | |
ScaleTop | Gets or sets the vertical coordinates for the top edge of the page when you are using graphics methods. | |
ScaleWidth | Gets or sets the number of units for the horizontal measurement of the page when you use graphics methods. | |
TwipsPerPixelX | Gets a value indicating the number of twips per pixel for an object measured horizontally. | |
TwipsPerPixelY | Gets a value indicating the number of twips per pixel for an object measured vertically. | |
Width | Gets or sets the width of a page. |
Top
See Also
Reference
Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 Namespace