Platforms to show: All Mac Windows Linux Cross-Platform
Back to WinPhotoAcquireMBS class.
WinPhotoAcquireMBS.Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as DesktopWindow, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
PhotoAcquireSource: Pointer to an WinPhotoAcquireSourceMBS object representing the device from which to acquire photos. Initialize this object by calling CreatePhotoSource.
ShowProgress: Flag that, when set to true, indicates that a progress dialog will be shown.
Window: The parent window.
ApplicationName: string containing the application name.
PhotoAcquireProgresCallback: Pointer to an optional WinPhotoAcquireProgressCallBackMBS object. Can be nil.
To initialize the PhotoAcquireSource parameter passed to Acquire, CreatePhotoSource should be called prior to calling Acquire.
PhotoAcquireProgresCallback provides callback methods that allow you to apply further filtering or control as items are acquired.
To verify that there are items in the device before acquisition, or to selectively acquire items from the device, call InitializeItemList to enumerate the items before calling Acquire.
See also:
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as Window, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindowHandle as Integer, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
WinPhotoAcquireMBS.Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as Window, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
PhotoAcquireSource: Pointer to an WinPhotoAcquireSourceMBS object representing the device from which to acquire photos. Initialize this object by calling CreatePhotoSource.
ShowProgress: Flag that, when set to true, indicates that a progress dialog will be shown.
Window: The parent window.
ApplicationName: string containing the application name.
PhotoAcquireProgresCallback: Pointer to an optional WinPhotoAcquireProgressCallBackMBS object. Can be nil.
To initialize the PhotoAcquireSource parameter passed to Acquire, CreatePhotoSource should be called prior to calling Acquire.
PhotoAcquireProgresCallback provides callback methods that allow you to apply further filtering or control as items are acquired.
To verify that there are items in the device before acquisition, or to selectively acquire items from the device, call InitializeItemList to enumerate the items before calling Acquire.
See also:
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as DesktopWindow, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindowHandle as Integer, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
WinPhotoAcquireMBS.Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindowHandle as Integer, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
PhotoAcquireSource: Pointer to an WinPhotoAcquireSourceMBS object representing the device from which to acquire photos. Initialize this object by calling CreatePhotoSource.
ShowProgress: Flag that, when set to true, indicates that a progress dialog will be shown.
WindowHandle: The parent window handle.
ApplicationName: string containing the application name.
PhotoAcquireProgresCallback: Pointer to an optional WinPhotoAcquireProgressCallBackMBS object. Can be nil.
To initialize the PhotoAcquireSource parameter passed to Acquire, CreatePhotoSource should be called prior to calling Acquire.
PhotoAcquireProgresCallback provides callback methods that allow you to apply further filtering or control as items are acquired.
To verify that there are items in the device before acquisition, or to selectively acquire items from the device, call InitializeItemList to enumerate the items before calling Acquire.
See also:
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as DesktopWindow, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
- Acquire(PhotoAcquireSource as WinPhotoAcquireSourceMBS, ShowProgress as Boolean, ParentWindow as Window, ApplicationName as String, PhotoAcquireProgresCallback as WinPhotoAcquireProgressCallBackMBS)
WinPhotoAcquireMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
WinPhotoAcquireMBS.CreatePhotoSource(Device as String) as WinPhotoAcquireSourceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Device: The device name/ID.
Returns the initialized photo source to acquire photos from.
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
WinPhotoAcquireMBS.Results as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows Photos | MBS WinFrameworks Plugin | 20.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
If the file transfer is aborted before any files are transferred, the result is nil.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.