VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI Namespace / WpfDrawingSurface Class / AlignBufferRectOnSurfaceGrid Method
Source rectangle.



In This Topic
    AlignBufferRectOnSurfaceGrid Method (WpfDrawingSurface)
    In This Topic
    Aligns the buffer, specified by rectangle, on the grid surface.
    Syntax
    'Declaration
     
    Public Overridable Function AlignBufferRectOnSurfaceGrid( _
       ByVal rect As Rect _
    ) As Rect
    public virtual Rect AlignBufferRectOnSurfaceGrid( 
       Rect rect
    )
    public: virtual Rect AlignBufferRectOnSurfaceGrid( 
       Rect rect
    ) 
    public:
    virtual Rect AlignBufferRectOnSurfaceGrid( 
       Rect rect
    ) 

    Parameters

    rect
    Source rectangle.

    Return Value

    Aligned rectangle.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also