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
The Acquire method acquires photos from a device.

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:

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
The Acquire method acquires photos from a device.

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:

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
The Acquire method acquires photos from a device.

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:

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
The constructor.

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
CreatePhotoSource method initializes an WinPhotoAcquireSourceMBS object to pass to Acquire method.

Device: The device name/ID.

Returns the initialized photo source to acquire photos from.

Some examples using this method:

WinPhotoAcquireMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Photos MBS WinFrameworks Plugin 20.3 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The destructor.

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
Retrieves the paths of all files successfully transferred during the most recent call to Acquire.

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.


The biggest plugin in space...