Pegasus Class Library Help
Create an Image from the Strokes.

Namespace:  Pegasus.Library
Assembly:  PegasusClassLibrary (in PegasusClassLibrary.dll) Version: 4.0.0.0 (4.0.12.0)

Syntax

C#
public Image AsImage(
	float Resolution,
	int Width,
	int Height,
	int LineWidth,
	bool AntiAlias,
	PixelOffsetMode pixelOffsetMode,
	bool SetStrokesTag
)
Visual Basic (Declaration)
Public Function AsImage ( _
	Resolution As Single, _
	Width As Integer, _
	Height As Integer, _
	LineWidth As Integer, _
	AntiAlias As Boolean, _
	pixelOffsetMode As PixelOffsetMode, _
	SetStrokesTag As Boolean _
) As Image
Visual C++
public:
Image^ AsImage(
	float Resolution, 
	int Width, 
	int Height, 
	int LineWidth, 
	bool AntiAlias, 
	PixelOffsetMode pixelOffsetMode, 
	bool SetStrokesTag
)

Parameters

Resolution
Type: System..::.Single
The Image resolution. DPI.
Width
Type: System..::.Int32
The Image width, in Pixels.
Height
Type: System..::.Int32
The Image height, in Pixels.
LineWidth
Type: System..::.Int32
Width of the line.
AntiAlias
Type: System..::.Boolean
if set to true use AntiAlias in drawing.
pixelOffsetMode
Type: System.Drawing.Drawing2D..::.PixelOffsetMode
The pixel offset mode. PixelOffsetMode
SetStrokesTag
Type: System..::.Boolean
if set to true set the Strokes Tag as the Image PropertyItem.

Return Value

The created Image.

See Also