Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeExifGpsCoordinate

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Source revision a0f47aa4f111 with working tree changes
Modifiers sealed

Validated decimal GPS coordinates with the exact source DMS rationals retained.

Inheritance

  • Object
  • OfficeExifGpsCoordinate

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Methods

public static Boolean TryCreate(OfficeRational[]? latitude, String? latitudeRef, OfficeRational[]? longitude, String? longitudeRef, out OfficeExifGpsCoordinate? coordinate) #
Returns: Boolean

Validates both DMS triples and cardinal references before returning decimal coordinates.

Parameters

latitude OfficeIMO.Drawing.OfficeRational[]? requiredposition: 0
latitudeRef System.String? requiredposition: 1
longitude OfficeIMO.Drawing.OfficeRational[]? requiredposition: 2
longitudeRef System.String? requiredposition: 3
coordinate OfficeIMO.Drawing.OfficeExifGpsCoordinate? requiredposition: 4

Properties

public Double Latitude { get; } #

Decimal degrees in [-90,90].

public Double Longitude { get; } #

Decimal degrees in [-180,180].

public String LatitudeReference { get; } #

Original latitude direction.

public String LongitudeReference { get; } #

Original longitude direction.

public OfficeRational[] LatitudeDms { get; } #

A copy of the exact latitude degrees/minutes/seconds.

public OfficeRational[] LongitudeDms { get; } #

A copy of the exact longitude degrees/minutes/seconds.