[]
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.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PreviewWrapper : IDisposable
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. |
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. |