Share via


PrintDocument.SetPreviewPageCount(Int32, PreviewPageCountType) 方法

定义

设置为打印预览准备并添加到打印列表的页数。

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

参数

count
Int32

int

预览中包含的页数。

type
PreviewPageCountType

枚举的一个值,该值指定如何确定页计数。

适用于

另请参阅