Dropbox .NET SDK
Show / Hide Table of Contents

Class ApiExifMetadata

Image EXIF metadata. Fields are populated on a best-effort basis and may be empty when absent from the source file.

Inheritance
object
ApiExifMetadata
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class ApiExifMetadata

Constructors

View Source

ApiExifMetadata(uint, uint, string, string, string, string, string, uint, string, double, uint, string, double, string, string, ApiExifGpsMetadata)

Initializes a new instance of the ApiExifMetadata class.

Declaration
public ApiExifMetadata(uint imageWidth = 0, uint imageHeight = 0, string cameraMake = "", string cameraModel = "", string lensModel = "", string dateTimeOriginal = "", string offsetTimeOriginal = "", uint orientation = 0, string exposureTime = "", double apertureValue = 0, uint isoSpeed = 0, string focalLength = "", double megapixels = 0, string artist = "", string copyright = "", ApiExifGpsMetadata gpsMetadata = null)
Parameters
Type Name Description
uint imageWidth

Width of the image, in pixels.

uint imageHeight

Height of the image, in pixels.

string cameraMake

Manufacturer of the device that captured the image, e.g. "Apple".

string cameraModel

Model of the device that captured the image, e.g. "iPhone 15 Pro".

string lensModel

Model of the lens the image was captured with, when the source records it.

string dateTimeOriginal

Capture time in the EXIF-provided format (local time of the camera).

string offsetTimeOriginal

Timezone offset for DateTimeOriginal, e.g. "+09:00".

uint orientation

EXIF orientation value (1-8). See the EXIF spec; 1 is the normal upright orientation.

string exposureTime

Exposure time the image was captured with, as a fractional-second string, e.g. "1/250".

double apertureValue

Aperture the image was captured at, as reported by the EXIF aperture tag.

uint isoSpeed

ISO sensitivity the image was captured at.

string focalLength

Focal length the image was captured at, including the unit, e.g. "26.0 mm".

double megapixels

Total pixel count of the image, in megapixels.

string artist

Creator credited in the EXIF artist tag.

string copyright

Copyright notice from the EXIF copyright tag.

ApiExifGpsMetadata gpsMetadata

Location tags from the image, when the source recorded a location.

Properties

View Source

ApertureValue

Aperture the image was captured at, as reported by the EXIF aperture tag.

Declaration
public double ApertureValue { get; protected set; }
Property Value
Type Description
double
View Source

Artist

Creator credited in the EXIF artist tag.

Declaration
public string Artist { get; protected set; }
Property Value
Type Description
string
View Source

CameraMake

Manufacturer of the device that captured the image, e.g. "Apple".

Declaration
public string CameraMake { get; protected set; }
Property Value
Type Description
string
View Source

CameraModel

Model of the device that captured the image, e.g. "iPhone 15 Pro".

Declaration
public string CameraModel { get; protected set; }
Property Value
Type Description
string
View Source

Copyright

Copyright notice from the EXIF copyright tag.

Declaration
public string Copyright { get; protected set; }
Property Value
Type Description
string
View Source

DateTimeOriginal

Capture time in the EXIF-provided format (local time of the camera).

Declaration
public string DateTimeOriginal { get; protected set; }
Property Value
Type Description
string
View Source

ExposureTime

Exposure time the image was captured with, as a fractional-second string, e.g. "1/250".

Declaration
public string ExposureTime { get; protected set; }
Property Value
Type Description
string
View Source

FocalLength

Focal length the image was captured at, including the unit, e.g. "26.0 mm".

Declaration
public string FocalLength { get; protected set; }
Property Value
Type Description
string
View Source

GpsMetadata

Location tags from the image, when the source recorded a location.

Declaration
public ApiExifGpsMetadata GpsMetadata { get; protected set; }
Property Value
Type Description
ApiExifGpsMetadata
View Source

ImageHeight

Height of the image, in pixels.

Declaration
public uint ImageHeight { get; protected set; }
Property Value
Type Description
uint
View Source

ImageWidth

Width of the image, in pixels.

Declaration
public uint ImageWidth { get; protected set; }
Property Value
Type Description
uint
View Source

IsoSpeed

ISO sensitivity the image was captured at.

Declaration
public uint IsoSpeed { get; protected set; }
Property Value
Type Description
uint
View Source

LensModel

Model of the lens the image was captured with, when the source records it.

Declaration
public string LensModel { get; protected set; }
Property Value
Type Description
string
View Source

Megapixels

Total pixel count of the image, in megapixels.

Declaration
public double Megapixels { get; protected set; }
Property Value
Type Description
double
View Source

OffsetTimeOriginal

Timezone offset for DateTimeOriginal, e.g. "+09:00".

Declaration
public string OffsetTimeOriginal { get; protected set; }
Property Value
Type Description
string
View Source

Orientation

EXIF orientation value (1-8). See the EXIF spec; 1 is the normal upright orientation.

Declaration
public uint Orientation { get; protected set; }
Property Value
Type Description
uint
  • View Source
In this article
Back to top Dropbox .NET SDK