Skip to content

Commit efb87ee

Browse files
committed
fix up image tags
1 parent 1478660 commit efb87ee

11 files changed

Lines changed: 36 additions & 36 deletions

File tree

xml/Microsoft.Win32/FileDialog.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Open and save file dialog boxes have a **Favorite Links** panel on the left side
526526
527527
Each file type that is included in the filter is added as a separate item to the **Files of type:** drop-down list in the <xref:Microsoft.Win32.OpenFileDialog> or <xref:Microsoft.Win32.SaveFileDialog>, as shown in the following figure.
528528
529-
![Using the FileDialog.Filter in the Open Dialog Box](~/add/media/filedialogfilterfigure1.png "Using the FileDialog.Filter in the Open Dialog Box")
529+
![Using the FileDialog.Filter in the Open Dialog Box](~/add/media/filedialogfilterfigure1.png)
530530
531531
The user can choose a file type from this list to filter by. By default, the first item in the list (for example, the first file type) is selected when the <xref:Microsoft.Win32.OpenFileDialog> or <xref:Microsoft.Win32.SaveFileDialog> is displayed. To specify that another file type to be selected, you set the <xref:Microsoft.Win32.FileDialog.FilterIndex> property before showing the <xref:Microsoft.Win32.OpenFileDialog> or <xref:Microsoft.Win32.SaveFileDialog> (by calling <xref:Microsoft.Win32.CommonDialog.ShowDialog*>).
532532

xml/System.ComponentModel/BackgroundWorker.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
## Examples
9090
The following code example demonstrates the basics of the <xref:System.ComponentModel.BackgroundWorker> class for executing a time-consuming operation asynchronously. The following illustration shows an example of the output.
9191
92-
![BackgroundWorker simple example](~/add/media/backgroundworker-simple.png "BackgroundWorker simple example")
92+
![BackgroundWorker simple example](~/add/media/backgroundworker-simple.png)
9393
9494
To try this code, create a Windows Forms application. Add a <xref:System.Windows.Forms.Label> control named `resultLabel` and add two <xref:System.Windows.Forms.Button> controls named `startAsyncButton` and `cancelAsyncButton`. Create <xref:System.Windows.Forms.Control.Click> event handlers for both buttons. From the **Components** tab of the Toolbox, add a <xref:System.ComponentModel.BackgroundWorker> component named `backgroundWorker1`. Create <xref:System.ComponentModel.BackgroundWorker.DoWork>, <xref:System.ComponentModel.BackgroundWorker.ProgressChanged>, and <xref:System.ComponentModel.BackgroundWorker.RunWorkerCompleted> event handlers for the <xref:System.ComponentModel.BackgroundWorker>. In the code for the form, replace the existing code with the following code.
9595
@@ -98,7 +98,7 @@
9898
9999
The following code example demonstrates the use of the <xref:System.ComponentModel.BackgroundWorker> class for executing a time-consuming operation asynchronously. The following illustration shows an example of the output.
100100
101-
![BackgroundWorker Fibonacci example](~/add/media/backgroundworker-fibonacci.png "BackgroundWorker Fibonacci example")
101+
![BackgroundWorker Fibonacci example](~/add/media/backgroundworker-fibonacci.png)
102102
103103
The operation computes the selected Fibonacci number, reports progress updates as the calculation proceeds, and permits a pending calculation to be canceled.
104104

xml/System.Device.Location/GeoCoordinateWatcher.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
362362
The following diagram represents location coordinates that the location provider (for example, a GPS device) supplies to the computer. P1, in the diagram, represents the location data included in a <xref:System.Device.Location.GeoCoordinateWatcher.PositionChanged> event, and P2, P3, and P4 represent points within the movement threshold. So when the location provider supplies data indicating a location at those points (P1, P2, P3, and P4), no <xref:System.Device.Location.GeoCoordinateWatcher.PositionChanged> events are raised, and <xref:System.Device.Location.GeoCoordinateWatcher.Position*> returns P1. The point P5 is outside of the <xref:System.Device.Location.GeoCoordinateWatcher.MovementThreshold*> distance, so at that point, <xref:System.Device.Location.GeoCoordinateWatcher.Position*> is updated and a <xref:System.Device.Location.GeoCoordinateWatcher.PositionChanged> event is raised.
363363
364-
![Diagram illustrating MovementThreshold](~/add/media/ndp-movementthreshold.png "Diagram illustrating MovementThreshold")
364+
![Diagram illustrating MovementThreshold](~/add/media/ndp-movementthreshold.png)
365365
366366
]]></format>
367367
</remarks>

xml/System.Drawing.Drawing2D/FillMode.xml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,29 @@
3434
<Docs>
3535
<summary>Specifies how the interior of a closed path is filled.</summary>
3636
<remarks>
37-
<format type="text/markdown"><![CDATA[
38-
39-
## Remarks
40-
An application fills the interior of a path using one of two fill modes: alternate or winding. The mode determines how to fill and clip the interior of a closed figure.
41-
42-
The default mode is Alternate. To determine the interiors of closed figures in the alternate mode, draw a line from any arbitrary start point in the path to some point obviously outside the path. If the line crosses an odd number of path segments, the starting point is inside the closed region and is therefore part of the fill or clipping area. An even number of crossings means that the point is not in an area to be filled or clipped. An open figure is filled or clipped by using a line to connect the last point to the first point of the figure.
43-
44-
The Winding mode considers the direction of the path segments at each intersection. It adds one for every clockwise intersection, and subtracts one for every counterclockwise intersection. If the result is nonzero, the point is considered inside the fill or clip area. A zero count means that the point lies outside the fill or clip area.
45-
46-
A figure is considered clockwise or counterclockwise based on the order in which the segments of the figure are drawn.
47-
48-
49-
50-
## Examples
51-
The following example creates a path that has one open figure (an arc) and one closed figure (an ellipse). The FillPath method fills the path according to the default fill mode, which is Alternate. The following illustration shows the output of the example code. Note that the path is filled (according to Alternate) as if the open figure were closed by a straight line from its ending point to its starting point.
52-
53-
![Fill Open Path](~/add/media/fillopenpath.png "Fill Open Path")
54-
55-
The following example is designed for use with Windows Forms, and it requires <xref:System.Windows.Forms.PaintEventArgs> `e`, which is a parameter of the <xref:System.Windows.Forms.Control.Paint> event handler.
56-
37+
<format type="text/markdown"><![CDATA[
38+
39+
## Remarks
40+
An application fills the interior of a path using one of two fill modes: alternate or winding. The mode determines how to fill and clip the interior of a closed figure.
41+
42+
The default mode is Alternate. To determine the interiors of closed figures in the alternate mode, draw a line from any arbitrary start point in the path to some point obviously outside the path. If the line crosses an odd number of path segments, the starting point is inside the closed region and is therefore part of the fill or clipping area. An even number of crossings means that the point is not in an area to be filled or clipped. An open figure is filled or clipped by using a line to connect the last point to the first point of the figure.
43+
44+
The Winding mode considers the direction of the path segments at each intersection. It adds one for every clockwise intersection, and subtracts one for every counterclockwise intersection. If the result is nonzero, the point is considered inside the fill or clip area. A zero count means that the point lies outside the fill or clip area.
45+
46+
A figure is considered clockwise or counterclockwise based on the order in which the segments of the figure are drawn.
47+
48+
49+
50+
## Examples
51+
The following example creates a path that has one open figure (an arc) and one closed figure (an ellipse). The FillPath method fills the path according to the default fill mode, which is Alternate. The following illustration shows the output of the example code. Note that the path is filled (according to Alternate) as if the open figure were closed by a straight line from its ending point to its starting point.
52+
53+
![Fill Open Path](~/add/media/fillopenpath.png)
54+
55+
The following example is designed for use with Windows Forms, and it requires <xref:System.Windows.Forms.PaintEventArgs> `e`, which is a parameter of the <xref:System.Windows.Forms.Control.Paint> event handler.
56+
5757
:::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/FillMode/Overview/Class1.cs" id="Snippet11":::
58-
:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb" id="Snippet11":::
59-
58+
:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb" id="Snippet11":::
59+
6060
]]></format>
6161
</remarks>
6262
<related type="Article" href="/dotnet/framework/winforms/advanced/how-to-fill-open-figures">How To: Fill Open Figures</related>

xml/System.Drawing.Drawing2D/HatchBrush.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
## Remarks
152152
The following illustration shows an ellipse filled with a horizontal hatch pattern.
153153
154-
![Hatch Pattern](~/add/media/hatch1.png "Hatch Pattern")
154+
![Hatch Pattern](~/add/media/hatch1.png)
155155
156156
157157

xml/System.Drawing.Drawing2D/LineCap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
## Remarks
4040
You can draw the start or end of a line in one of several shapes called line caps. GDI+ supports several line caps, such as round, square, diamond, and arrowhead. The following illustration shows a line with a round cap and an arrow cap.
4141
42-
![Pens](~/add/media/pens4.gif "Pens")
42+
![Pens](~/add/media/pens4.gif)
4343
4444
4545

xml/System.Drawing.Imaging/ColorMatrix.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@
5555
5656
The following matrix multiplication will perform the pair of transformations in the order listed.
5757
58-
![Recoloring](~/add/media/recoloring01.gif "Recoloring")
58+
![Recoloring](~/add/media/recoloring01.gif)
5959
6060
The elements of a color matrix are indexed (zero-based) by row and then column. For example, the entry in the fifth row and third column of matrix M is denoted by M[4][2].
6161
6262
The 5×5 identity matrix (shown in the following illustration) has 1s on the diagonal and 0s everywhere else. If you multiply a color vector by the identity matrix, the color vector does not change. A convenient way to form the matrix of a color transformation is to start with the identity matrix and make a small change that produces the desired transformation.
6363
64-
![Recoloring](~/add/media/recoloring02.gif "Recoloring")
64+
![Recoloring](~/add/media/recoloring02.gif)
6565
6666
For a more detailed discussion of matrices and transformations, see [Coordinate Systems and Transformations](/dotnet/framework/winforms/advanced/coordinate-systems-and-transformations).
6767
@@ -72,7 +72,7 @@
7272
7373
The following illustration shows the original image on the left and the transformed image on the right.
7474
75-
![Colors](~/add/media/colortrans1.png "Colors")
75+
![Colors](~/add/media/colortrans1.png)
7676
7777
The code in the following example uses the following steps to perform the recoloring:
7878

xml/System.Drawing.Imaging/ImageAttributes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
6262
The following illustration shows the original image on the left and the transformed image on the right.
6363
64-
![Colors](~/add/media/colortrans1.png "Colors")
64+
![Colors](~/add/media/colortrans1.png)
6565
6666
The code in the example uses the following steps to perform the recoloring:
6767

xml/System.Drawing/Graphics.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19645,7 +19645,7 @@ The <see cref="T:System.Drawing.Graphics" /> object has a transform applied othe
1964519645
## Examples
1964619646
The following method demonstrates the effects of setting the <xref:System.Drawing.Pen.DashCap*>, <xref:System.Drawing.Pen.DashPattern*>, and <xref:System.Drawing.Graphics.SmoothingMode*> properties. The output of the example is shown in the following illustration.
1964719647

19648-
![Lines with and without smoothing applied.](~/add/media/gdi-smoothingmode.png "Lines with and without smoothing applied.")
19648+
![Lines with and without smoothing applied.](~/add/media/gdi-smoothingmode.png)
1964919649

1965019650
This example is designed to be used with Windows Forms. Paste the code into a form and call the `ShowPensAndSmoothingMode` method when handling the form's <xref:System.Windows.Forms.Control.Paint> event, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
1965119651

@@ -20302,7 +20302,7 @@ This is a more performant alternative to <xref:System.Drawing.Graphics.Transform
2030220302

2030320303
The following illustration shows the output of running the previous code example.
2030420304

20305-
![Translated and transformed ellipse](~/add/media/ndp-tranlatetransform.png "Translated and transformed ellipse")
20305+
![Translated and transformed ellipse](~/add/media/ndp-tranlatetransform.png)
2030620306

2030720307
]]></format>
2030820308
</remarks>

xml/System.Drawing/Pen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@
980980
## Remarks
981981
A line join is the common area that is formed by two lines whose ends meet or overlap. There are three line join styles: miter, bevel, and round. When you specify a line join style for a <xref:System.Drawing.Pen> object, that join style will be applied to all the connected lines in any <xref:System.Drawing.Drawing2D.GraphicsPath> object drawn using that pen. The following illustration shows the results of the beveled line join example.
982982
983-
![Pens](~/add/media/pens5.gif "Pens")
983+
![Pens](~/add/media/pens5.gif)
984984
985985
986986

0 commit comments

Comments
 (0)