Specifies how the drawing is positioned within a SvgViewer control.
Namespace: MindFusion.SvgViewer
Assembly: MindFusion.SvgViewer
C#
![]() |
---|
public enum SizeMode |
Visual Basic
![]() |
---|
Public Enum SizeMode |
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. |