ComponentOne FlexReport for WinForms
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / Field Class / GetRenderContent Method
Field text.
Field image.
Indicates that image should be disposed after using.
This parameter allows the field to render differently at design time or run time. This is usually needed for bound controls, since no data is available at design time.

In This Topic
    GetRenderContent Method
    In This Topic
    Selects the text or image that will be rendered by the field.
    Syntax
    'Declaration
     
    Protected Overridable Sub GetRenderContent( _
       ByRef value As System.String, _
       ByRef img As System.Drawing.Image, _
       ByRef disposeImage As System.Boolean, _
       ByVal designTime As System.Boolean _
    ) 
    protected virtual void GetRenderContent( 
       ref System.string value,
       ref System.Drawing.Image img,
       ref System.bool disposeImage,
       System.bool designTime
    )

    Parameters

    value
    Field text.
    img
    Field image.
    disposeImage
    Indicates that image should be disposed after using.
    designTime
    This parameter allows the field to render differently at design time or run time. This is usually needed for bound controls, since no data is available at design time.
    Remarks
    Override this method in derived classes to provide custom text or images to be rendered in the report.
    See Also