The following members of class ImageFrame are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) | Image |
(deprecated) | Image |
(deprecated) | Image |
Member Function Documentation
[deprecated]
ImageFrame::ImageFrame (const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates an image frame containing the image defined by the url, a credential, and an optional parent.
This url could be a local file path, Qt resource path, or HTTP path to the image.
A credential is specified if the image needs authentication to gain access to it.
Supported image formats are GEOTIFF
, TIFF
, JPEG
, and PNG
.
[deprecated]
ImageFrame::ImageFrame (const QUrl &url, const Esri::ArcGISRuntime::Envelope &extent, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates an ImageFrame containing the image identified by the url secured by a credential, for display at the specified geographic extent and an optional parent.
This url could be a local file path, Qt resource path, or HTTP path to the image.
If a spatial reference is not defined for the extent, it is assumed to be the same as the map or scene. Otherwise, the extent will be projected to match the scene.
A credential is specified if the image needs authentication to gain access to it.
Supported image formats are GEOTIFF
, TIFF
, JPEG
, and PNG
.
[deprecated]
ImageFrame::ImageFrame (const QUrl &url, const Esri::ArcGISRuntime::Polygon &quadrilateral, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Creates an ImageFrame containing the image identified by the url secured by a credential for display, quadrilateral, and an optional parent.
This url could be a local file path, Qt resource path, or HTTP path to the image.
The quadrilateral in this case is a four-point polygon and the image frame will fail to load if the number of points is more or less. If a spatial reference is not defined for the polygon, it is assumed to be the same as the map or scene. Otherwise, the extent will be projected to match the scene.
A credential is specified if the image needs authentication to gain access to it.
Supported image formats are GEOTIFF
, TIFF
, JPEG
, and PNG
.
[override virtual, deprecated]
Esri::ArcGISRuntime::Credential *ImageFrame::credential() const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::credential() const.
Returns the security credentials to access the remote resource. Only applicable if the resource is secured.
[override virtual, deprecated]
Esri::ArcGISRuntime::RequestConfiguration ImageFrame::requestConfiguration () const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::requestConfiguration() const.
Returns the RequestConfiguration in use by the ImageFrame.
See also setRequestConfiguration().
[override virtual, deprecated]
void ImageFrame::setRequestConfiguration (const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration )
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration).
Sets configuration parameters used for network requests sent by the ImageFrame to requestConfiguration.
See also requestConfiguration().