PrintDocument for WinForms
プレビューで使用できるツール
PrintPreview ライブラリ > プレビューで使用できるツール

The PrintPreview Control provides the option to set flags indicating which all tools should be available in the preview. For this purpose, the C1PrintPreviewControl class provides the AvailablePreviewActions property.

So, when you click the AvailablePreviewActions property, the following window opens from the Property window.

You can check or uncheck the preview actions as per your choice using this property. You can also set the flags for tools which you want to preview programmatically:

C#
コードのコピー
c1PrintPreviewControl1.AvailablePreviewActions = C1.Win.C1Preview.C1PreviewActionFlags.File;

This is how the output looks like: