PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderBlockImage Method / RenderBlockImage(Image,Object,Object,Style) Method
Image to render.
Width of an image box. If null then autowidth.
Height of an image box. If null then autoheight.
Style of the image. If null then the style for an image of document is used.

In This Topic
    RenderBlockImage(Image,Object,Object,Style) Method
    In This Topic
    Renders the Image.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockImage( _
       ByVal image As Image, _
       ByVal width As Object, _
       ByVal height As Object, _
       ByVal style As Style _
    ) As Boolean
    public bool RenderBlockImage( 
       Image image,
       object width,
       object height,
       Style style
    )

    Parameters

    image
    Image to render.
    width
    Width of an image box. If null then autowidth.
    height
    Height of an image box. If null then autoheight.
    style
    Style of the image. If null then the style for an image of document is used.

    Return Value

    Returns true if no warnings occur during rendering the object.
    See Also