Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / PushSnapToPixels Method


In This Topic
    PushSnapToPixels Method
    In This Topic
    Pushes a new value for the SnapToPixels property. If true, all paint commands will internally snap to pixels. If false, all paint commands will not snap to pixels.
    Syntax
    'Declaration
     
    
    Public Sub PushSnapToPixels( _
       ByVal snapToPixels As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim snapToPixels As System.Boolean
     
    instance.PushSnapToPixels(snapToPixels)
    public void PushSnapToPixels( 
       System.bool snapToPixels
    )

    Parameters

    snapToPixels
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also