Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / DrawImage Method / DrawImage(ContentAlignment,Boolean) Method
A System.Drawing.ContentAlignment value representing the alignment of the image.
true if the image should be drawn disabled; false otherwise.


In This Topic
    DrawImage(ContentAlignment,Boolean) Method
    In This Topic
    Draws the image that corresponds to ImageIndex with the specified alignment in an enabled or disabled state.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawImage( _
       ByVal alignment As ContentAlignment, _
       ByVal disabled As Boolean _
    ) 
    'Usage
     
    Dim instance As SmartPaint
    Dim alignment As ContentAlignment
    Dim disabled As Boolean
     
    instance.DrawImage(alignment, disabled)
    public void DrawImage( 
       ContentAlignment alignment,
       bool disabled
    )

    Parameters

    alignment
    A System.Drawing.ContentAlignment value representing the alignment of the image.
    disabled
    true if the image should be drawn disabled; false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also