PrintChart Method
Sends the Enhanced Chart to the printer for output. Causes the Printer Setup dialog box to display.
Syntax
object.PrintChartenuSizeUnits, [dblWidth], [dblHeight]
Properties
The PrintChart method syntax has these parts:
Part |
Description |
|||||||||||||||
object |
An object expression that evaluates to an object in the Applies To list. |
|||||||||||||||
enuSizeUnits |
Enum/Long. Specifies in what units the image size is specified with dblWidth and dblHeight. It can be either of type enumSizeUnits or a corresponding numerical value, as follows:
NOTE: In order to use the enumSizeUnits enumerations, you must add the type library file for object to the references of the VBA project. If the type library file is not included in the references, then only numerical values are accepted. The type libraries for objects in the Applied To list are as follows:
|
|||||||||||||||
dblWidth |
Double. Specifies the width of the printed image, in the units specified in enuSizeUnits. This parameter is optional and ignored when SizeUnits_FullPage is specified. |
|||||||||||||||
dblHeight |
Double. Specifies the height of the printed image, in the units specified in enuSizeUnits. This parameter is optional and ignored when SizeUnits_FullPage is specified. |
Remarks
The aspect ratio must be between 0.1 and 10.