PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) Method

Definition

Sets the number of pages prepared for print preview and added to the print list.

public:
 virtual void SetPreviewPageCount(int count, PreviewPageCountType type) = SetPreviewPageCount;
void SetPreviewPageCount(int count, PreviewPageCountType type);
public void SetPreviewPageCount(int count, PreviewPageCountType type);
function setPreviewPageCount(count, type)
Public Sub SetPreviewPageCount (count As Integer, type As PreviewPageCountType)

Parameters

count
Int32

The number of pages included in the preview.

type
PreviewPageCountType

A value of the enumeration that specifies how to determine the page count.

Applies to

See also