This document is archived and information here might be outdated.  Recommended version.


IRasterDefaultsEnv3.FavorWorldFile Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterDefaultsEnv3.FavorWorldFile Property

Indicates if the world file should overrides the raster dataset internal georeferencing.

[Visual Basic .NET]
Public Property FavorWorldFile As Boolean
[C#]
public bool FavorWorldFile {get; set;}
[C++]
HRESULT get_FavorWorldFile(
  VARIANT_BOOL* pFavor
);
[C++]
HRESULT put_FavorWorldFile(
  VARIANT_BOOL pFavor
);
[C++]

Parameters pFavor [out, retval] pFavor is a parameter of type VARIANT_BOOL pFavor [in] pFavor is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

By default (returns as false), ArcGIS will read the internal spatial reference (map extent or projection info) of a raster dataset. If you want ArcGIS reads the world file of the raster dataset, set it to be true.

See Also

IRasterDefaultsEnv3 Interface