MindFusion WinForms Programmer's Guide
ControlWrapper Class
Remarks See Also
 





Represents a wrapper around a System.Windows.Forms.Control that can be added and rendered in a MindFusion.Reporting.Report.

Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting

 Syntax

C#  Copy Code

public class ControlWrapper : ReportItem

Visual Basic  Copy Code

Public Class ControlWrapper
    Inherits ReportItem

 Remarks

The ControlWrapper class provides means to render any System.Windows.Forms.Control in a MindFusion.Reporting report. Instances of this class are automatically created when the user drags a control from the Visual Studio Toolbox palette to the report surface.

The ControlWrapper class relies on the DrawBitmap method of the Control class in order to render the contents of the control to an image. If the underlying control fails to render itself through this method, the control wrapper will not display anything. Because the wrapper class creates an image of the control, rendering in higher resolution devices (such as printers) might suffer from a loss of quality.

 Inheritance Hierarchy

System.Object
    System.MarshalByRefObject
        System.ComponentModel.Component
            MindFusion.Reporting.ReportItem
                MindFusion.Reporting.ControlWrapper

 See Also

ControlWrapper Members
MindFusion.Reporting Namespace