ArcGIS Runtime SDK for WPF - Library Reference
ImageFormat Property
See Also  Example
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace > WmsLayer Class : ImageFormat Property

Gets or sets the image format being used by the service.

Syntax

Visual Basic (Declaration) 
Public Property ImageFormat As String
C# 
public string ImageFormat {get; set;}

Remarks

The image format must be a supported MimeType name, supported by the service and the framework.

Example

C#Copy Code
myWmsLayer.ImageFormat = "image/png";

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.