콘텐츠로 이동

Image markup reference

이 콘텐츠는 아직 번역되지 않았습니다.

Image source, stretch, alignment, and viewbox.

Receiver: Image.

Method Sets Summary
AlignmentX(ImageAlignmentX value) AlignmentX Sets the horizontal alignment of the image.
AlignmentY(ImageAlignmentY value) AlignmentY Sets the vertical alignment of the image.
ImageScaleQuality(ImageScaleQuality value) ImageScaleQuality Sets the image scaling quality.
OrientationMode(ImageOrientationMode value) OrientationMode Sets whether the source’s orientation (e.g. JPEG EXIF) is applied; the default FromImage shows the image upright and Ignore the raw decoded pixels.
Source(IImageSource value) Source Sets the image source.
SourceFile(string path) Sets the image source from a file path.
SourceResource(Assembly assembly, string resourceName) Sets the image source from an embedded resource.
SourceResource(string resourceName) Sets the image source from an embedded resource using anchor type.
StretchMode(Stretch value) StretchMode Sets how the image is stretched to fill available space.
VectorCacheMode(ImageVectorCacheMode value) VectorCacheMode Sets how a vector source is rendered; the default is Cached.
Viewbox(Rect? viewbox, ImageViewboxUnits units = Pixels) Viewbox, ViewboxUnits Sets the viewbox and units.
ViewboxPixels(Rect? viewbox) Viewbox, ViewboxUnits = Pixels Sets the viewbox with pixel units.
ViewboxRelative(Rect? viewbox) Viewbox, ViewboxUnits = RelativeToBoundingBox Sets the viewbox with relative units.
ViewboxUnits(ImageViewboxUnits value) ViewboxUnits Sets the units for the viewbox coordinates.