Xceed Chart for WinForms v4.4 Documentation
CreatePreviewBitmap Method


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > FillEffect Class : CreatePreviewBitmap Method
Size of the requested bitmap.
Generates a preview bitmap of this fill effect with the specified dimensions.
Syntax
'Declaration
 
Public Function CreatePreviewBitmap( _
   ByVal size As Size _
) As Bitmap
'Usage
 
Dim instance As FillEffect
Dim size As Size
Dim value As Bitmap
 
value = instance.CreatePreviewBitmap(size)
public Bitmap CreatePreviewBitmap( 
   Size size
)

Parameters

size
Size of the requested bitmap.

Return Value

The function returns a Bitmap object containing the fill effect preview.
Remarks
Note that the preview bitmap may actually differ from the visualized fill effect because this function discards material and mapping properties. You can use this function to implement custom fill effect preview in your applications. It is recommended to pass bitmaps with square dimensions in order not to loose quality.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FillEffect Class
FillEffect Members