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

IRasterDefaultsEnv3.FavorWorldFile Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDefaultsEnv3 Interface > IRasterDefaultsEnv3.FavorWorldFile Property
ArcGIS Developer Help

IRasterDefaultsEnv3.FavorWorldFile Property

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

[Visual Basic .NET]
Public Property FavorWorldFile As Boolean
public bool FavorWorldFile {get; set;}
HRESULT get_FavorWorldFile(
HRESULT put_FavorWorldFile(
  Boolean* pFavor
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.


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