ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / PNGFormat Class / HasWorldFile Property
Version

HasWorldFile Property (PNGFormat)
Gets or sets if a georeferenced world file will be created.
Syntax
public bool HasWorldFile {get; set;}
Remarks

If set to true, the file will contain pixel scale and real-world coordinate information. World files are not generated for Layout exports.

If you export a 3D view, this parameter will be ignored regardless of the setting because world files are not applicable to 3D views.

(The default value is false)

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also