←Select platform

GeoKeys Property (CodecsLoadOptions)

Summary

Gets or sets a value that indicates whether any TIFF Geo key tags found in the file should be automatically loaded.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool GeoKeys {get; set;} 
Public Property GeoKeys As Boolean 
public bool GeoKeys {get; set;} 
@property (nonatomic, assign) BOOL geoKeys 
public boolean getGeoKeys() 
public void setGeoKeys(boolean value) 
             
  
get_GeoKeys(); 
set_GeoKeys(value); 
Object.defineProperty('GeoKeys');  
public: 
property bool GeoKeys { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to automatically load any TIFF Geo key tags found in the file, otherwise; false.

Remarks

When the value of the GeoKeys property is set to true, any subsequent load operation performed by this RasterCodecs object will automatically try to load all the TIFF Geo key tags found in the file and store them in the RasterImage.GeoKeys collection of the resulting image.

Internally, the RasterCodecs object will call GeoKeysSupported on the image and only tries to load the GeoKeys if the value returned was true.

When loading more than one page from a multi-page file, only the GeoKeys found in the first page will be automatically loaded when the value of this property is set to true. To manually load all the GeoKeys in any page, use ReadGeoKeys.

You must set the value of the Markers property to false to enable automatically loading the GeoKeys. If the value of both Markers and GeoKeys is set to true, then the markers will take take precedence and no GeoKeys will be loaded.

Note that any load method that uses tiles, offset or resizing will not load any file metadata automatically regardless of the value of this property.

Example

For an example, refer to Tags.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize