ImageRequest.Filters Property (Bing, Version 2.1) (original) (raw)
Array of strings that filter the response the API sends based on size, aspect, color, style, face, or any combination thereof.
<XmlArrayItemAttribute(IsNullable=False)> _
Public Property Filters() As String()
End Property
[XmlArrayItemAttribute(IsNullable=false)]
public string[] Filters { get; set; }
Remarks
Values that can be included in this array are:
| Value | Restricts results to images: |
|---|---|
| Size:Small | Small in size. |
| Size:Medium | Medium in size. |
| Size:Large | Large in size. |
| Size:Height: | Of the specified height in pixels, where is an unsigned int value. |
| Size:Width: | Of the specified width in pixels, where is an unsigned int value. |
| Aspect:Square | That have standard aspect ratio. |
| Aspect:Wide | That have widescreen aspect ratio. |
| Aspect:Tall | That have tall aspect ratio. |
| Color:Color | That are in color. |
| Color:Monochrome | That are black and white. |
| Style:Photo | That contain photos. |
| Style:Graphics | That contain graphics or illustrations. |
| Face:Face | That contain faces. |
| Face:Portrait | That contain portraits (head and shoulders). |
| Face:Other | That are different than the other Face categories. |