VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Device Class / GetSupportedPixelTypes Method




In This Topic
    GetSupportedPixelTypes Method (Device)
    In This Topic
    Returns an array of pixel types supported by device.
    Syntax
    'Declaration
     
    Public Function GetSupportedPixelTypes() As PixelType()
    'Usage
     
    Dim instance As Device
    Dim value() As PixelType
     
    value = instance.GetSupportedPixelTypes()
    public PixelType[] GetSupportedPixelTypes()
    public: PixelType[]* GetSupportedPixelTypes(); 
    public:
    array<PixelType>^ GetSupportedPixelTypes(); 

    Return Value

    An array of pixel types supported by device.
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if device does not support capability.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Remarks
    Call this method only when device is opened (State == DeviceState.Opened).
    Requirements

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

    See Also