PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) Method

Definition

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

public : void SetPreviewPageCount(int count, PreviewPageCountType type)
void SetPreviewPageCount(int32_t count, PreviewPageCountType type) const;
public void SetPreviewPageCount(Int32 count, PreviewPageCountType type)
Public Sub SetPreviewPageCount(count As Int32, type As PreviewPageCountType)

Parameters

count
Int32 Int32

The number of pages included in the preview.

type
PreviewPageCountType PreviewPageCountType

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

See also