SurfaceImageSource.SurfaceImageSource constructors

Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area.

Overload list

ConstructorDescription
SurfaceImageSource(Int32, Int32) Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area.
SurfaceImageSource(Int32, Int32, Boolean) Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area, and whether opacity is expected to be always full opacity. Use this with isOpaque=true if SurfaceImageSource should not support transparency; this can increase performance.

Remarks

Use the SurfaceImageSource(Int32, Int32, Boolean) signature if you don't expect content with transparency, passing true for the isOpaque parameter. This can provide a performance benefit if the content is not transparent.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media.Imaging
Windows::UI::Xaml::Media::Imaging [C++]

Metadata

Windows.winmd

See also

SurfaceImageSource

 

 

Show:
© 2015 Microsoft