ArcGIS API for WPF - Library Reference
ImageFormat Property
See Also  Example Send comments on this topic
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;}

Example

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

Remarks

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

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.