VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WinTwain Namespace / DeviceImageLayout Class / Set Methods / Set(Single,Single,Single,Single) Method
Синтаксис Exceptions Ремарки Example Требования Смотрите также
В этом разделе
    Set(Single,Single,Single,Single) Метод (DeviceImageLayout)
    В этом разделе
    Sets the image layout rectangle of document/page/frame.
    Синтаксис
    'Declaration
    
    Public Overloads Sub Set( _
    ByVal left
    Value of the left coordinate of the image layout rectangle.
    As Single, _
    ByVal top
    Value of the top coordinate of the image layout rectangle.
    As Single, _
    ByVal right
    Value of the right coordinate of the image layout rectangle.
    As Single, _
    ByVal bottom
    Value of the bottom coordinate of the image layout rectangle.
    As Single _
    )

    Parameters

    left
    Value of the left coordinate of the image layout rectangle.
    top
    Value of the top coordinate of the image layout rectangle.
    right
    Value of the right coordinate of the image layout rectangle.
    bottom
    Value of the bottom coordinate of the image layout rectangle.
    Исключения
    ИсключениеОписание
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Ремарки

    The image layout rectangle defines what portion of the device's scanning area will be acquired.

    Document number can be set using the DocumentNumber property, Page number can be set using the PageNumber property, Frame number can be set using the FrameNumber property

    Call this method only when device is opened (State == DeviceState.Opened).

    This method has effect only if you do not use the User Interface (ShowUI=false).

    Пример

    Please see example here: DeviceImageLayout.

    Требования

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

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