Skip to content

PrintPreview Control Members

See Also

PrintPreview Overview

Command Bars ActiveX Control v24.0
See Also

PrintPreview Control Members

Public Methods

Method Description
Public MethodAboutBox Displays the About Box for the control.
Public MethodCreateMarkupPrintView Creates an IPrintView object from the supplied XAML Markup string.
Public MethodCreateRichEditPrintView Creates an IPrintView object from the supplied RTF string.
Public MethodPrintDirect Print directly to a specified device context.
Public MethodShowPrintDialog Displays the standard print dialog.

Public Properties

Property Description
Public PropertyBackColor Gets/sets the background color of the preview window.
Public PropertyOrientation Specifies the page orientation (Portrait/Landscape).
Public PropertyPrintView Contains the view that will be shown in the print preview control.
Public PropertyReCreateReparented
Public PropertyShowBorder Specifies whether to show a border around the preview window.
Public PropertyTitle Text displayed in the title bar of the print preview window.
Public PropertyToolBar Reference to the toolbar displayed in the preview window.
Public PropertyToolBarVisible Gets or sets whether the toolbar will be visible in the preview window.
Public PropertyVisualTheme Gets or sets the visual theme of the preview window.
Public PropertyZoomState Gets or sets a value indicating how large the pages will appear.

Events

Event Description
Public EventCloseClick Occurs when the close button of the print preview dialog has been clicked.
Public EventPrintClick Occurs when the print button of the print preview dialog has been clicked.
Public EventReCreated

See Also

PrintPreview Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.