Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / HtmlFilter Class / GetHtmlFieldPicture Method
Field that contains the image.
System.Drawing.Image to be rendered in the field.
Whether to use absolute positioning in the HTML IMG tag.

In This Topic
    GetHtmlFieldPicture Method (HtmlFilter)
    In This Topic
    Gets an HTML tag that represents an image in a field.
    Syntax
    'Declaration
     
    Protected Function GetHtmlFieldPicture( _
       ByVal field As Field, _
       ByVal img As Image, _
       ByVal absolutePositioning As Boolean _
    ) As String
    protected string GetHtmlFieldPicture( 
       Field field,
       Image img,
       bool absolutePositioning
    )

    Parameters

    field
    Field that contains the image.
    img
    System.Drawing.Image to be rendered in the field.
    absolutePositioning
    Whether to use absolute positioning in the HTML IMG tag.

    Return Value

    An HTML IMG tag to show the image, or an empty string if the field has no image.
    See Also