NShape Reference
Shape.DrawThumbnail Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
Shape.DrawThumbnail Method

Previous pageReturn to chapter overviewNext page

Creates a thumbnail image that can be used as icon.

Syntax

public abstract void DrawThumbnail(Image image, int margin, Color transparentColor)

Description

Creates a thumbnail image that can be used as icon.

If you override this method, clone the shape used for drawing and dispose it after usage.

Parameters

Name

Description

image

The GDI+ image used as canvas for drawing the shape.

margin

Specified the margin between the image's border and the shape

transparentColor

Specifies the color that will be rendered as transparent color.

Exceptions

None