ArcGIS Pro 2.6 API Reference Guide
HasWorldFile Property (PNGFormat)

ArcGIS.Desktop.Mapping Namespace > PNGFormat Class : HasWorldFile Property
Gets or sets if a georeferenced world file will be created.
Syntax
public bool HasWorldFile {get; set;}
Public Property HasWorldFile As Boolean

Property Value

Type: System.Boolean
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 10, Windows 8.1, Windows 7

See Also

Reference

PNGFormat Class
PNGFormat Members