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

In This Topic
    HasWorldFile Property (PNGFormat)
    In This Topic
    Gets or sets if a georeferenced world file will be created.
    Syntax
    public bool HasWorldFile {get; set;}
    Public Property HasWorldFile As 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 11, Windows 10, Windows 8.1

    See Also