Search
FlowChart.OpenPreviewWindow Method
See Also
 



Opens a print preview window with the specified position and size.

 Syntax

VB6  Copy Code

Public Function OpenPreviewWindow( _
    ByVal left As Long, _
    ByVal top As Long, _
    ByVal width As Long, _
    ByVal height As Long _
) As PrintPreview

C++  Copy Code

public:
PrintPreview* OpenPreviewWindow (
    int left,
    int top,
    int width,
    int height
)

 Parameters

left
The horizontal position of the preview window.
top
The vertical position of the preview window.
width
The width of the preview window.
height
The height of the preview window.

 Return Value

An instance of the PrintPreview class.

 Remarks

This is an extended version of the PreviewDiagram method that gives you more control over the attributes of the preview window. The window attributes are exposed as properties of the returned PrintPreview object.

 See Also