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


IRasterDefaultsEnv3.FavorWorldFile Property (ArcObjects .NET 10.6 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(
  Boolean* pFavor
);
[C++]

Parameters pFavor [in]
pFavor is a parameter of type bool pFavor [out, retval]
pFavor is a parameter of type 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