Поделиться через


ViewportOrigin

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

Gets or sets the top-left corner of the area of the image to be displayed.

<MultiScaleImage ViewportOrigin="Point" />
value = object.ViewportOrigin
object.ViewportOrigin = value

Property Value

Type: Point

The point of the top-left corner of the rectangular area of the image to be displayed.

This property is read/write. The default value is a Point with the value 0,0.

Managed Equivalent

ViewportOrigin; ViewportOrigin

Applies To

MultiScaleImage

MultiScaleSubImage (scripting only)

Version Information

Silverlight 2

See Also

Reference