BitmapSurfaceSaveToPNG Method (String, Boolean)Awesomium.NET 1.7.6Awesomium.NET
Save this bitmap to a PNG image on disk.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public bool SaveToPNG(
	string filePath,
	bool preserveTransparency
)

Parameters

filePath
Type: SystemString
The file path (should have filename ending in .png).
preserveTransparency
Type: SystemBoolean
Indicates if we should preserve the alpha channel.

Return Value

Type: Boolean
true if the operation succeeded; false otherwise.
See Also

Reference