PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderImage Class / RenderImage Constructor / RenderImage Constructor(String,Style)
A string that is assigned to the RenderImage.ImageName property.
A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).

In This Topic
    RenderImage Constructor(String,Style)
    In This Topic
    Initializes a new instance of the RenderImage class, assigning the RenderImage.Image property, and specifying a Style to use.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal imageName As String, _
       ByVal style As Style _
    )
    public RenderImage( 
       string imageName,
       Style style
    )

    Parameters

    imageName
    A string that is assigned to the RenderImage.ImageName property.
    style
    A Style to use (the Style.AssignNonInheritedFrom method is used to copy the specified style to the current object's RenderObject.Style).
    See Also