Environment.PrintPreview Method

Public Sub PrintPreview( _ 
ByVal printPreviewDlgClientSize As Size, _ 
Optional ByVal extents As Boolean = false _ 
)
This language is not supported or no code example is available.
public void PrintPreview( 
Size printPreviewDlgClientSize
bool extents = false 
)
This language is not supported or no code example is available.

Parameters

printPreviewDlgClientSize
Size

extents
bool

If true fits the model on view, else captures the whole viewport

Remarks
 
For more options use the HiddenLinesViewOnPaperPreview class directly.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition