[This is preliminary documentation and is subject to change.]

Save this bitmap to a PNG image on disk.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.0.3 (1.7.0.3)

Syntax

C#
public bool SaveToPNG(
	string filePath,
	bool preserveTransparency
)
Visual Basic
Public Function SaveToPNG ( _
	filePath As String, _
	preserveTransparency As Boolean _
) As Boolean
Visual C++
public:
bool SaveToPNG(
	String^ filePath, 
	bool preserveTransparency
)

Parameters

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

Return Value

true if the operation succeeded; false otherwise.

See Also