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.
Syntax
Parameters
- pixelWidth
-
Type: System.Int32 [.NET] | int32 [C++]
Width of the drawing area in pixels.
- pixelHeight
-
Type: System.Int32 [.NET] | int32 [C++]
Height of the drawing area in pixels.
- isOpaque
-
Type: System.Boolean [.NET] | Platform::Boolean [C++]
true if the area should render opaque. false to render with possible alpha transparency. A value of true can provide a performance benefit if the content is not transparent.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012