Nevron .NET Vision
Nevron.GraphicsCore Namespace / NBackgroundStyle Class / OnDrawPreview Method


In This Topic
    OnDrawPreview Method (NBackgroundStyle)
    In This Topic
    Draws a preview of the style on the specified device.
    Syntax
    'Declaration
     
    
    Public Overrides Sub OnDrawPreview( _
       ByVal device As IN2DDevice, _
       ByVal size As NSizeF _
    ) 
    'Usage
     
    
    Dim instance As NBackgroundStyle
    Dim device As IN2DDevice
    Dim size As NSizeF
     
    instance.OnDrawPreview(device, size)
    public override void OnDrawPreview( 
       IN2DDevice device,
       NSizeF size
    )

    Parameters

    device
    size
    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