MindFusion WinForms Programmer's Guide
SvgViewer Members
Constructors Properties Methods Events
 


A control for displaying SVG files.

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

 Public Constructors

  Name Description

SvgViewer

Initializes a new instance of the SvgViewer class.

 Public Properties

  Name Description

Content

Gets or sets the SvgContent instance representing the SVG drawing rendered in this control.

FileName

Gets or sets the location of the SVG drawing rendered in this control.

HScrollBar

Gets the horizontal scrollbar of the control.

ScrollX

Gets or sets the control's X scroll position.

ScrollY

Gets or sets the control's Y scroll position.

SizeMode

Gets or sets a value indicating how the drawing is positioned within the control.

SmoothingMode

Gets or sets the current anti-aliasing mode.

TextRenderingHint

Gets or sets the rendering mode for text displayed in this control.

VScrollBar

Gets the vertical scrollbar of the control.

ZoomFactor

Gets or sets the zoom factor used to scale control's content.

 Public Methods

  Name Description

Load

Overloaded. Loads an SVG drawing.

ScrollTo

Scrolls the controls's content to the specified point.

ZoomIn

Zooms into controls's content.

ZoomOut

Zooms out of the controls's content.

 Protected Methods

  Name Description

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnPaint

Control.OnPaint override.

OnResize

Control.OnResize override.

 Public Events

  Name Description

ScrollChanged

Occurs when the scroll position changes.

SizeModeChanged

Occurs when SizeMode changes.

ZoomFactorChanged

Occurs when ZoomFactor changes.

 See Also

SvgViewer Class
MindFusion.SvgViewer Namespace