1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="PictureBoxSizeMode" FullName="System.Windows.Forms.PictureBoxSizeMode">
3 <TypeSignature Language="C#" Value="public enum PictureBoxSizeMode" />
5 <AssemblyName>System.Windows.Forms</AssemblyName>
6 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
7 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Enum</BaseTypeName>
14 <attribution license="cc4" from="Microsoft" modified="false" />
15 <para>Use the members of this enumeration to set the value of the <see cref="P:System.Windows.Forms.PictureBox.SizeMode" /> property of the <see cref="T:System.Windows.Forms.PictureBox" />.</para>
18 <attribution license="cc4" from="Microsoft" modified="false" />
19 <para>Specifies how an image is positioned within a <see cref="T:System.Windows.Forms.PictureBox" />.</para>
23 <Member MemberName="AutoSize">
24 <MemberSignature Language="C#" Value="AutoSize" />
25 <MemberType>Field</MemberType>
27 <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
31 <attribution license="cc4" from="Microsoft" modified="false" />
32 <para>The <see cref="T:System.Windows.Forms.PictureBox" /> is sized equal to the size of the image that it contains.</para>
36 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
37 <AssemblyVersion>2.0.0.0</AssemblyVersion>
40 <Member MemberName="CenterImage">
41 <MemberSignature Language="C#" Value="CenterImage" />
42 <MemberType>Field</MemberType>
44 <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
48 <attribution license="cc4" from="Microsoft" modified="false" />
49 <para>The image is displayed in the center if the <see cref="T:System.Windows.Forms.PictureBox" /> is larger than the image. If the image is larger than the <see cref="T:System.Windows.Forms.PictureBox" />, the picture is placed in the center of the <see cref="T:System.Windows.Forms.PictureBox" /> and the outside edges are clipped.</para>
53 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
54 <AssemblyVersion>2.0.0.0</AssemblyVersion>
57 <Member MemberName="Normal">
58 <MemberSignature Language="C#" Value="Normal" />
59 <MemberType>Field</MemberType>
61 <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
65 <attribution license="cc4" from="Microsoft" modified="false" />
66 <para>The image is placed in the upper-left corner of the <see cref="T:System.Windows.Forms.PictureBox" />. The image is clipped if it is larger than the <see cref="T:System.Windows.Forms.PictureBox" /> it is contained in.</para>
70 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
71 <AssemblyVersion>2.0.0.0</AssemblyVersion>
74 <Member MemberName="StretchImage">
75 <MemberSignature Language="C#" Value="StretchImage" />
76 <MemberType>Field</MemberType>
78 <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
82 <attribution license="cc4" from="Microsoft" modified="false" />
83 <para>The image within the <see cref="T:System.Windows.Forms.PictureBox" /> is stretched or shrunk to fit the size of the <see cref="T:System.Windows.Forms.PictureBox" />.</para>
87 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
88 <AssemblyVersion>2.0.0.0</AssemblyVersion>
91 <Member MemberName="Zoom">
92 <MemberSignature Language="C#" Value="Zoom" />
93 <MemberType>Field</MemberType>
95 <ReturnType>System.Windows.Forms.PictureBoxSizeMode</ReturnType>
98 <since version=".NET 2.0" />
100 <attribution license="cc4" from="Microsoft" modified="false" />
101 <para>The size of the image is increased or decreased maintaining the size ratio.</para>
105 <AssemblyVersion>2.0.0.0</AssemblyVersion>