FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.8 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 (Field)
    In This Topic
    Selects the text or image that will be rendered by the field.
    Syntax
    'Declaration
     
    Protected Overridable Sub GetRenderContent( _
       ByRef value As String, _
       ByRef img As Image, _
       ByRef disposeImage As Boolean, _
       ByVal designTime As Boolean _
    ) 
    protected virtual void GetRenderContent( 
       ref string value,
       ref Image img,
       ref bool disposeImage,
       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