FMX.MediaLibrary.Actions.TTakePhotoFromLibraryAction

Delphi
TTakePhotoFromLibraryAction = class(TCustomTakePhotoAction)
C++
class PASCALIMPLEMENTATION TTakePhotoFromLibraryAction : public TCustomTakePhotoAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.MediaLibrary.Actions.pas FMX.MediaLibrary.Actions.hpp |
FMX.MediaLibrary.Actions | FMX.MediaLibrary.Actions |
Description
TTakePhotoFromLibraryAction is the standard action for taking photos from the local library of the device.
Write an event handler for OnDidFinishTaking to manage the taken photo.
When clicking on the control to which a TTakePhotoFromLibraryAction is attached, the library window is displayed and allows the user to choose the photo to be used.
TTakePhotoFromLibraryAction can be found in Action List editor in the Media Library section.
See Also
- FMX.MediaLibrary.Actions.TTakePhotoFromCameraAction
- FMX.MediaLibrary.Actions.TCustomTakePhotoAction
- FMX.StdActns.TSysCommonAction
- Action List editor
- Mobile Tutorial: Taking and Sharing a Picture, and Sharing Text (iOS and Android)
- FMX.ActnList.TAction
- FireMonkey Actions
- Action List editor
- Handling VCL Actions Using an Action List
Code Examples
- FireMonkey Photo Editor sample
- FireMonkey Camera Roll sample