Creates a bitmap having a maximum size for given fixed page.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static WriteableBitmap CreateBitmap(
	this FixedPage fixedPage,
	Size maxSize
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function CreateBitmap ( _
	fixedPage As FixedPage, _
	maxSize As Size _
) As WriteableBitmap
Visual C++
[ExtensionAttribute]
public:
static WriteableBitmap^ CreateBitmap(
	FixedPage^ fixedPage, 
	Size maxSize
)

Parameters

fixedPage
Type: FirstFloor.Documents..::..FixedPage
The fixed page.
maxSize
Type: System.Windows..::..Size
Maximum size of the bitmap.

Return Value

The created bitmap.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FixedPage. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also