VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr Namespace / MprSliceRenderer Class / SetBufferProperties(Int32,Int32,VintasoftPoint) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetBufferProperties(Int32,Int32,VintasoftPoint) Method (MprSliceRenderer)
    In This Topic
    Sets the size of the Buffer.
    Syntax
    'Declaration
    
    Public Function SetBufferProperties( _
    ByVal width
    The width.
    As System.Int32, _
    ByVal height
    The height.
    As System.Int32, _
    ByVal sliceCenterOnBuffer
    The slice center, in pixels, in buffer.
    As Vintasoft.Primitives.VintasoftPoint _
    ) As Boolean
    public bool SetBufferProperties(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Primitives.VintasoftPoint sliceCenterOnBuffer
    )
    public: bool SetBufferProperties(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Primitives.VintasoftPoint sliceCenterOnBuffer
    )
    public:
    bool SetBufferProperties(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Primitives.VintasoftPoint sliceCenterOnBuffer
    )

    Parameters

    width
    The width.
    height
    The height.
    sliceCenterOnBuffer
    The slice center, in pixels, in buffer.

    Return Value

    True if the buffer properties are changed; otherwise, false.
    Exceptions
    ExceptionDescription
    Thrown if width or height is less than 1.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also