[]
        
(Showing Draft Content)

C1.Schedule.Printing.PreviewWrapper

PreviewWrapper Class

The PreviewWrapper class wraps the print preview dialog functionality. It allows showing C1.C1Preview.C1PrintDocument content in a C1.Win.RibbonPreview.C1RibbonPreviewDialog, loaded via reflection from C1.Win.RibbonPreview assembly.

Inheritance
PreviewWrapper
Implements
Namespace: C1.Schedule.Printing
Assembly: C1.Win.Schedule.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PreviewWrapper : IDisposable

Properties

Name Description
C1PrintPreviewDialog

Gets or sets the C1.Win.RibbonPreview.C1RibbonPreviewDialog object, used for previewing.

Caption

Gets or sets the caption of the preview window.

Methods

Name Description
Dispose()

Releases all unmanaged resources.

Preview(PrintDocumentWrapper)

Shows the specified PrintDocumentWrapper object in a print preview dialog.

Preview(PrintDocumentWrapper, ref PageSettings)

Shows the specified object in a print preview dialog using the specified PageSettings object.

Preview(object)

Shows the specified object in a print preview dialog.