FlexReport for .NET | ComponentOne
C1.FlexReport Assembly / C1.Report 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 GrapeCity.Documents.Drawing.IImage, _
       ByRef disposeImage As Boolean, _
       ByVal designTime As Boolean _
    ) 
    protected virtual void GetRenderContent( 
       ref string value,
       ref GrapeCity.Documents.Drawing.IImage 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