DiagramLite Programmer's Guide
VisualImage Members
Constructors Fields Properties Methods
 


Renders the contents of an arbitrary FrameworkElement as a Bitmap.

The following tables list the members exposed by the VisualImage type.

 Public Constructors

  Name Description

VisualImage

Initializes a new instance of the VisualImage class.

 Public Fields

  Name Description

BitmapProperty

Identifies the Bitmap dependency property.

ScaleFactorProperty

Identifies the ScaleFactor dependency property.

ViewboxProperty

Identifies the Viewbox dependency property.

VisualProperty

Identifies the Visual dependency property.

 Public Properties

  Name Description

Bitmap

Gets or sets the produced bitmap. This is a dependency property.

ScaleFactor

Gets or sets the scaling factor to apply to the produced bitmap. This is a dependency property.

Viewbox

Gets or sets the portion of the associated visual that should be represented by the produced bitmap. This is a dependency property.

Visual

Gets or sets the visual associated with this VisualImage object. This is a dependency property.

 Public Methods

  Name Description

Invalidate

Causes the content of the visual image to be refreshed from the underlying visual, based on the specified viewbox.

Prepare

Initializes the underlying bitmap with the specified dimensions.

 See Also

VisualImage Class
MindFusion.Diagramming Namespace