• ImageFormInput
  • class Esri::ArcGISRuntime::ImageFormInput

    A user interface for image attachments. More...

    Header: #include <ImageFormInput.h>
    Since: Esri::ArcGISRuntime 300.1
    Inherits: Esri::ArcGISRuntime::AttachmentsFormInput

    Public Functions

    virtual ~ImageFormInput() override
    Esri::ArcGISRuntime::AttachmentInputMethod inputMethod() const
    std::optional<quint32> maxImageSize() const

    Detailed Description

    Member Function Documentation

    [override virtual noexcept] ImageFormInput::~ImageFormInput()

    Destructor.

    Esri::ArcGISRuntime::AttachmentInputMethod ImageFormInput::inputMethod() const

    Returns the supported method used to add an image attachment.

    If not provided in the form definition, the default value is AttachmentInputMethod::Any.

    std::optional<quint32> ImageFormInput::maxImageSize() const

    Returns the maximum size, in pixels, of the longest edge of an image attachment.

    The std::nullopt value indicates images are not resized. Larger images are resized so their longest edge is no greater than this value while maintaining aspect ratio.