GeoBlazor Pro


layout: pro title: AttachmentInfo parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

AttachmentInfo Class

The AttachmentInfo class returns information about attachments associated with a feature. The contents of the attachment are streamed to the client. Attachments are available if the FeatureLayer.capabilities.data.supportsAttachment is true.
ArcGIS Maps SDK for JavaScript

public class AttachmentInfo :
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.AttachmentInfo>

Inheritance System.Object 🡒 AttachmentInfo

Implements System.IEquatable<AttachmentInfo>

Constructors

AttachmentInfo(string, ExifInfo[], string, long, string, string, OrientationInfo, long, long, long, string) Constructor

The AttachmentInfo class returns information about attachments associated with a feature. The contents of the attachment are streamed to the client. Attachments are available if the FeatureLayer.capabilities.data.supportsAttachment is true.
ArcGIS Maps SDK for JavaScript

public AttachmentInfo(string ContentType, dymaptic.GeoBlazor.Pro.Components.Widgets.ExifInfo[]? ExifInfo, string GlobalId, long Id, string Keywords, string Name, dymaptic.GeoBlazor.Pro.Components.Widgets.OrientationInfo OrientationInfo, long ParentGlobalId, long ParentObjectId, long Size, string Url);

Parameters

ContentType System.String

The content type of the attachment. For example, ‘image/jpeg’. See the ArcGIS REST API documentation for more information on supported attachment types.

ExifInfo ExifInfo[]

An array of ExifInfo for the attachment.

GlobalId System.String

The global identifier for the attachment.

Id System.Int64

The identifier for the attachment.

Keywords System.String

Keywords used for the attachment.

Name System.String

String value indicating the name of the file attachment.

OrientationInfo OrientationInfo

The OrientationInfo for the attachment. This is derived from the exifInfo. In order to read this, you must first set the attachment query’s returnMetadata to true to get the exif info associated with the attachment.

ParentGlobalId System.Int64

The parent or the feature global id of the attachment.

ParentObjectId System.Int64

The parent or the feature object id of the attachment.

Size System.Int64

The file size of the attachment. This is specified in bytes.

Url System.String

The URL of the attachment.

Properties

AttachmentInfo.ContentType Property

The content type of the attachment. For example, ‘image/jpeg’. See the ArcGIS REST API documentation for more information on supported attachment types.

public string ContentType { get; set; }

Property Value

System.String

AttachmentInfo.ExifInfo Property

An array of ExifInfo for the attachment.

public dymaptic.GeoBlazor.Pro.Components.Widgets.ExifInfo[]? ExifInfo { get; set; }

Property Value

ExifInfo[]

AttachmentInfo.GlobalId Property

The global identifier for the attachment.

public string GlobalId { get; set; }

Property Value

System.String

AttachmentInfo.Id Property

The identifier for the attachment.

public long Id { get; set; }

Property Value

System.Int64

AttachmentInfo.Keywords Property

Keywords used for the attachment.

public string Keywords { get; set; }

Property Value

System.String

AttachmentInfo.Name Property

String value indicating the name of the file attachment.

public string Name { get; set; }

Property Value

System.String

AttachmentInfo.OrientationInfo Property

The OrientationInfo for the attachment. This is derived from the exifInfo. In order to read this, you must first set the attachment query’s returnMetadata to true to get the exif info associated with the attachment.

public dymaptic.GeoBlazor.Pro.Components.Widgets.OrientationInfo OrientationInfo { get; set; }

Property Value

OrientationInfo

AttachmentInfo.ParentGlobalId Property

The parent or the feature global id of the attachment.

public long ParentGlobalId { get; set; }

Property Value

System.Int64

AttachmentInfo.ParentObjectId Property

The parent or the feature object id of the attachment.

public long ParentObjectId { get; set; }

Property Value

System.Int64

AttachmentInfo.Size Property

The file size of the attachment. This is specified in bytes.

public long Size { get; set; }

Property Value

System.Int64

AttachmentInfo.Url Property

The URL of the attachment.

public string Url { get; set; }

Property Value

System.String