A.16. Printer Object[2]

[2] Not available in hosted versions of VBA


Circle Method

Draws a circle, ellipse, or arc on the current object


ColorMode Property

Returns or sets the color mode of a color printer


Copies Property

Returns or sets the number of copies of the current document to print


CurrentX Property

Returns or sets the horizontal coordinates for next print or draw method


CurrentY Property

Returns or sets the vertical coordinates for next print or draw method


DeviceName Property

Returns or sets the name of the device the current printer driver supports


DrawMode Property

Returns or sets the appearance of output from graphics methods or of a Shape or Line control


DrawStyle Property

Returns or sets the line style for output from graphics methods


DrawWidth Property

Returns or sets the line width for output from graphics methods


DriverName Property

Returns or sets the name of the driver for a Printer object


Duplex Property

Returns or sets a value to determine whether a page is printed on both sides


EndDoc Method

Closes the current printer buffer, outputs the buffer to the printer, and resets the printer object


FillColor Property

Returns or sets the color used to fill in shapes, circles, and boxes


FillStyle Property

Returns or sets the fill style of a shape


Font Property

Returns a Font object


FontBold Property

Returns or sets the current font to bold


FontCount Property

Returns the number of fonts available to the current printer object


FontItalic Property

Returns or sets the current font to italic


FontName Property

Returns or sets the name of the current font


Fonts Property

Returns the names of all fonts available to the current printer object


FontSize Property

Returns or sets the size in points of the current font


FontStrikethru Property

Returns or sets whether strikethrough is in effect


FontTransparent Property

Returns or sets whether the current font is transparent


FontUnderline Property

Returns or sets whether text is underlined


ForeColor Property

Returns or sets the current foreground color


hDC Property

Returns the Windows handle of the printer object


Height Property

Returns or sets the height of the printer object


KillDoc Method

Ends the current printer operation, empties the printer buffer, and initializes the printer object


Line Method

Draws a line or a box on the printer object


NewPage Method

Creates a new page in the printer object


Orientation Property

Returns or sets the printer object to output either Landscape or Portrait


Page Property

Returns the number of the current printer page


PaintPicture Method

Outputs the contents of a graphic file onto the printer object


PaperBin Property

Returns or sets the paper source on the current printer


PaperSize Property

Returns or sets the size of paper to use for the current print operation


Port Property

Returns the name of the port being used by the current printer


Print Method

Outputs text to the printer object


PrintQuality Property

Returns or sets the printer resolution


PSet Method

Outputs a single point to the printer object


RightToLeft Property

Determines text display direction and controls visual appearance on a bidirectional system


Scale Method

Determines the coordinate system to be used for the current printer object


ScaleHeight Property

Returns or sets the vertical measurement for the current printer object based on the current scale


ScaleLeft Property

Returns or sets the measurement to the left edge of the current printer object based on the current scale


ScaleMode Property

Returns or sets the value indicating measurement units for object coordinates when using graphics methods or positioning controls


ScaleTop Property

Returns or sets the measurement to the top edge of the current printer object based on the current scale


ScaleWidth Property

Returns or sets the horizontal measurement for the current printer object based on the current scale


ScaleX Method

Converts the value for the width of the printer object from one scale mode to another


ScaleY Method

Converts the value for the height of the printer object from one scale mode to another


TextHeight Function

Returns the height that a given string would be if printed with the current font


TextWidth Function

Returns the width that a given string would be if printed with the current font


TrackDefault Property

Returns or sets a value that determines if the current printer object is automatically changed to that set via the Control Panel


TwipsPerPixelX Property

Returns the number of twips per pixel across the width of the printer object


TwipsPerPixelY Property

Returns the number of twips per pixel along the height of the printer object


Width Property

Returns or sets the width of the printer object


Zoom Property

Returns or sets the percentage by which printed output is to be scaled up or down

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.92.6