VintaSoft Imaging .NET SDK 14.0: Документация для .NET разработчика
Vintasoft.Imaging.Dicom.Mpr Namespace / MprSliceRenderer Class / SetBufferProperties(Int32,Int32,VintasoftPoint) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    SetBufferProperties(Int32,Int32,VintasoftPoint) Метод (MprSliceRenderer)
    В этом разделе
    Устанавливает размер Buffer.
    Синтаксис
    'Declaration
    
    Public Function SetBufferProperties( _
    ByVal width
    Ширина.
    As System.Int32, _
    ByVal height
    Высота.
    As System.Int32, _
    ByVal sliceCenterOnBuffer
    Центр среза в пикселях в буфере.
    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
    Ширина.
    height
    Высота.
    sliceCenterOnBuffer
    Центр среза в пикселях в буфере.

    Return Value

    True, если свойства буфера изменены; в противном случае - false.
    Исключения
    ИсключениеОписание
    Выбрасывается, если width или height меньше 1.
    Требования

    Целевые платформы: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также