FMX.MediaLibrary.IFMXTakenImageService.TakeImageFromLibrary
Delphi
procedure TakeImageFromLibrary(const AControl: TControl; const ARequiredResolution: TSize; const AEditable: Boolean; const AOnDidFinishTaking: TOnDidFinishTaking; const AOnDidCancelTaking: TOnDidCancelTaking); overload;
procedure TakeImageFromLibrary(const AControl: TControl; const AParams: TParamsPhotoQuery); overload;
C++
virtual void __fastcall TakeImageFromLibrary _DEPRECATED_ATTRIBUTE1("Use the similar method with another parameters") (Fmx::Controls::TControl* const AControl, const System::Types::TSize &ARequiredResolution, const bool AEditable, const TOnDidFinishTaking AOnDidFinishTaking, const TOnDidCancelTaking AOnDidCancelTaking) = 0 /* overload */;
virtual void __fastcall TakeImageFromLibrary(Fmx::Controls::TControl* const AControl, const TParamsPhotoQuery &AParams) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.MediaLibrary.pas FMX.MediaLibrary.hpp |
FMX.MediaLibrary | IFMXTakenImageService |
Description
Gets photos from the local library of the device.
Implement TakeImageFromLibrary in order to get photos from the local library of the device.