PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderBlockImage Method / RenderBlockImage(Image,Object,Object,ImageAlign) Method
Image to render.
Width of an image box. If null then autowidth.
Height of an image box. If null then autoheight.
Alignment of an image.

In This Topic
    RenderBlockImage(Image,Object,Object,ImageAlign) 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 imageAlign As ImageAlign _
    ) As Boolean
    public bool RenderBlockImage( 
       Image image,
       object width,
       object height,
       ImageAlign imageAlign
    )

    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.
    imageAlign
    Alignment of an image.

    Return Value

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