共用方式為


Rect Element (Deep Zoom File Format Schema)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the rectangle to be displayed.

Image Element (Deep Zoom File Format Schema)
  DisplayRects Element (Deep Zoom File Format Schema)
    DisplayRect Element (Deep Zoom File Format Schema)

<Rect 
  X="x-coordinate"
  Y="y-coordinate"
  Width="rectangle width"
  Height="rectangle height" 
/>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

X

Required unsignedLong attribute.

The X-coordinate of the upper-left corner of the rectangle.

Y

Required unsignedLong attribute.

The Y-coordinate of the upper-left corner of the rectangle.

Width

Required unsignedLong attribute.

The width of the rectangle.

Height

Required unsignedLong attribute.

The height of the rectangle.

Child Elements

None.

Parent Elements

Element

Description

DisplayRect

Contains Rect elements that define the rectangle to be displayed.

DisplayRects

Contains DisplayRect elements that describe all available pixels.

Image

The root element when defining a single image for Deep Zoom.

Remarks

minOccurs="0"

maxOccurs="1"

Element Information

Namespace

Empty

Schema name

Deep Zoom Schema

Validation file

deepzoom.xsd

Can be empty

Yes