MindFusion WinForms Programmer's Guide
SizeMode Enumeration
See Also
 





Specifies how the drawing is positioned within a SvgViewer control.

Namespace: MindFusion.UI.WinForms
Assembly: MindFusion.UI.WinForms

 Syntax

C#  Copy Code

public enum SizeMode

Visual Basic  Copy Code

Public Enum SizeMode

 Members

  Member name Description

AutoSize

The SvgViewer is sized equal to the size of the drawing that it contains.

Center

The drawing is displayed in the center if the SvgViewer is larger than the drawing. If the drawing is larger than the SvgViewer, the drawing is placed in the center of the SvgViewer and the outside edges are clipped.

Normal

The drawing is placed in the upper-left corner of the SvgViewer. The drawing is clipped if it is larger than the SvgViewer it is contained in.

Stretch

The drawing within the SvgViewer is stretched or shrunk to fit the size of the SvgViewer.

Zoom

The size of the drawing is increased or decreased maintaining the size ratio.

 See Also

MindFusion.UI.WinForms Namespace