Skip to content

Commit 215857b

Browse files
authored
Fix typo in Bitmap examples (#1545)
1 parent ecd5ec4 commit 215857b

File tree

16 files changed

+29
-29
lines changed

16 files changed

+29
-29
lines changed

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImageElementExample_snip/CSharp/ImageSimpleExample.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- To save significant application memory, set the DecodePixelWidth or
1717
DecodePixelHeight of the BitmapImage value of the image source to the desired
1818
height and width of the rendered image. If you don't do this, the application will
19-
cache the image as though it were rendered as its normal size rather then just
19+
cache the image as though it were rendered as its normal size rather than just
2020
the size that is displayed. -->
2121
<!-- Note: In order to preserve aspect ratio, only set either DecodePixelWidth
2222
or DecodePixelHeight but not both. -->

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImageElementExample_snip/CSharp/ImageSimpleExample.xaml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private void PageLoaded(object sender, RoutedEventArgs args)
3333
// To save significant application memory, set the DecodePixelWidth or
3434
// DecodePixelHeight of the BitmapImage value of the image source to the desired
3535
// height or width of the rendered image. If you don't do this, the application will
36-
// cache the image as though it were rendered as its normal size rather then just
36+
// cache the image as though it were rendered as its normal size rather than just
3737
// the size that is displayed.
3838
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3939
// or DecodePixelHeight but not both.
@@ -72,4 +72,4 @@ private void PageLoaded(object sender, RoutedEventArgs args)
7272
myStackPanel.Children.Add(myImage1);
7373
}
7474
}
75-
}
75+
}

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/ChainedBitmapSourcesExample.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public ChainedBitmapSourcesExample()
2525
// To save significant application memory, set the DecodePixelWidth or
2626
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2727
// height or width of the rendered image. If you don't do this, the application will
28-
// cache the image as though it were rendered as its normal size rather then just
28+
// cache the image as though it were rendered as its normal size rather than just
2929
// the size that is displayed.
3030
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3131
// or DecodePixelHeight but not both.
@@ -79,4 +79,4 @@ public void PageLoaded(object sender, RoutedEventArgs args)
7979
}
8080
}
8181
}
82-
// </SnippetChainedBitmapSourcesCodeExampleWholePage>
82+
// </SnippetChainedBitmapSourcesCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/CroppedBitmapExample.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public CroppedBitmapExample()
2525
// To save significant application memory, set the DecodePixelWidth or
2626
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2727
// height or width of the rendered image. If you don't do this, the application will
28-
// cache the image as though it were rendered as its normal size rather then just
28+
// cache the image as though it were rendered as its normal size rather than just
2929
// the size that is displayed.
3030
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3131
// or DecodePixelHeight but not both.
@@ -66,4 +66,4 @@ public CroppedBitmapExample()
6666
}
6767
}
6868
}
69-
// </SnippetCroppedBitmapCodeExampleWholePage>
69+
// </SnippetCroppedBitmapCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/FormatConvertedBitmapExample.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public FormatConvertedBitmapExample()
2525
// To save significant application memory, set the DecodePixelWidth or
2626
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2727
// height or width of the rendered image. If you don't do this, the application will
28-
// cache the image as though it were rendered as its normal size rather then just
28+
// cache the image as though it were rendered as its normal size rather than just
2929
// the size that is displayed.
3030
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3131
// or DecodePixelHeight but not both.
@@ -64,4 +64,4 @@ public FormatConvertedBitmapExample()
6464
}
6565
}
6666
}
67-
// </SnippetFormatConvertedBitmapCodeExampleWholePage>
67+
// </SnippetFormatConvertedBitmapCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/FormatConvertedBitmapExample2.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public FormatConvertedBitmapExample2()
2525
// To save significant application memory, set the DecodePixelWidth or
2626
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2727
// height or width of the rendered image. If you don't do this, the application will
28-
// cache the image as though it were rendered as its normal size rather then just
28+
// cache the image as though it were rendered as its normal size rather than just
2929
// the size that is displayed.
3030
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3131
// or DecodePixelHeight but not both.
@@ -75,4 +75,4 @@ public FormatConvertedBitmapExample2()
7575
}
7676
}
7777
}
78-
// </SnippetFormatConvertedBitmapCodeExample2WholePage>
78+
// </SnippetFormatConvertedBitmapCodeExample2WholePage>

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/PixelFormatsExample.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public PixelFormatsExample()
2626
// To save significant application memory, set the DecodePixelWidth or
2727
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2828
// height or width of the rendered image. If you don't do this, the application will
29-
// cache the image as though it were rendered as its normal size rather then just
29+
// cache the image as though it were rendered as its normal size rather than just
3030
// the size that is displayed.
3131
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3232
// or DecodePixelHeight but not both.

dotnet-desktop-guide/samples/snippets/csharp/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/CSharp/TransformedBitmapExample.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public TransformedBitmapExample()
2525
// To save significant application memory, set the DecodePixelWidth or
2626
// DecodePixelHeight of the BitmapImage value of the image source to the desired
2727
// height or width of the rendered image. If you don't do this, the application will
28-
// cache the image as though it were rendered as its normal size rather then just
28+
// cache the image as though it were rendered as its normal size rather than just
2929
// the size that is displayed.
3030
// Note: In order to preserve aspect ratio, set DecodePixelWidth
3131
// or DecodePixelHeight but not both.
@@ -70,4 +70,4 @@ public TransformedBitmapExample()
7070
}
7171
}
7272
}
73-
// </SnippetTransformedBitmapCodeExampleWholePage>
73+
// </SnippetTransformedBitmapCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImageElementExample_snip/VB/ImageSimpleExample.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<!-- To save significant application memory, set the DecodePixelWidth or
1616
DecodePixelHeight of the BitmapImage value of the image source to the desired
1717
height and width of the rendered image. If you don't do this, the application will
18-
cache the image as though it were rendered as its normal size rather then just
18+
cache the image as though it were rendered as its normal size rather than just
1919
the size that is displayed. -->
2020
<!-- Note: In order to preserve aspect ratio, only set either DecodePixelWidth
2121
or DecodePixelHeight but not both. -->

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImageElementExample_snip/VB/ImageSimpleExample.xaml.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Namespace ImageElementExample
4343
' To save significant application memory, set the DecodePixelWidth or
4444
' DecodePixelHeight of the BitmapImage value of the image source to the desired
4545
' height or width of the rendered image. If you don't do this, the application will
46-
' cache the image as though it were rendered as its normal size rather then just
46+
' cache the image as though it were rendered as its normal size rather than just
4747
' the size that is displayed.
4848
' Note: In order to preserve aspect ratio, set DecodePixelWidth
4949
' or DecodePixelHeight but not both.
@@ -81,4 +81,4 @@ Namespace ImageElementExample
8181

8282
End Sub
8383
End Class
84-
End Namespace
84+
End Namespace

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/ChainedBitmapSourcesExample.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Namespace SDKSample
2323
' To save significant application memory, set the DecodePixelWidth or
2424
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2525
' height or width of the rendered image. If you don't do this, the application will
26-
' cache the image as though it were rendered as its normal size rather then just
26+
' cache the image as though it were rendered as its normal size rather than just
2727
' the size that is displayed.
2828
' Note: In order to preserve aspect ratio, set DecodePixelWidth
2929
' or DecodePixelHeight but not both.
@@ -78,4 +78,4 @@ Namespace SDKSample
7878
End Sub
7979
End Class
8080
End Namespace
81-
' </SnippetChainedBitmapSourcesCodeExampleWholePage>
81+
' </SnippetChainedBitmapSourcesCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/CroppedBitmapExample.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Namespace SDKSample
2323
' To save significant application memory, set the DecodePixelWidth or
2424
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2525
' height or width of the rendered image. If you don't do this, the application will
26-
' cache the image as though it were rendered as its normal size rather then just
26+
' cache the image as though it were rendered as its normal size rather than just
2727
' the size that is displayed.
2828
' Note: In order to preserve aspect ratio, set DecodePixelWidth
2929
' or DecodePixelHeight but not both.
@@ -67,4 +67,4 @@ Namespace SDKSample
6767
End Class
6868
End Namespace 'ImagingSnippetGallery
6969

70-
' </SnippetCroppedBitmapCodeExampleWholePage>
70+
' </SnippetCroppedBitmapCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/FormatConvertedBitmapExample.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Namespace SDKSample
2323
' To save significant application memory, set the DecodePixelWidth or
2424
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2525
' height or width of the rendered image. If you don't do this, the application will
26-
' cache the image as though it were rendered as its normal size rather then just
26+
' cache the image as though it were rendered as its normal size rather than just
2727
' the size that is displayed.
2828
' Note: In order to preserve aspect ratio, set DecodePixelWidth
2929
' or DecodePixelHeight but not both.
@@ -63,4 +63,4 @@ Namespace SDKSample
6363
End Class
6464
End Namespace 'ImagingSnippetGallery
6565

66-
' </SnippetFormatConvertedBitmapCodeExampleWholePage>
66+
' </SnippetFormatConvertedBitmapCodeExampleWholePage>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/FormatConvertedBitmapExample2.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Namespace SDKSample
2424
' To save significant application memory, set the DecodePixelWidth or
2525
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2626
' height or width of the rendered image. If you don't do this, the application will
27-
' cache the image as though it were rendered as its normal size rather then just
27+
' cache the image as though it were rendered as its normal size rather than just
2828
' the size that is displayed.
2929
' Note: In order to preserve aspect ratio, set DecodePixelWidth
3030
' or DecodePixelHeight but not both.
@@ -74,4 +74,4 @@ Namespace SDKSample
7474
End Sub
7575
End Class
7676
End Namespace 'ImagingSnippetGallery
77-
' </SnippetFormatConvertedBitmapCodeExample2WholePage>
77+
' </SnippetFormatConvertedBitmapCodeExample2WholePage>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/PixelFormatsExample.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Namespace SDKSample
2424
' To save significant application memory, set the DecodePixelWidth or
2525
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2626
' height or width of the rendered image. If you don't do this, the application will
27-
' cache the image as though it were rendered as its normal size rather then just
27+
' cache the image as though it were rendered as its normal size rather than just
2828
' the size that is displayed.
2929
' Note: In order to preserve aspect ratio, set DecodePixelWidth
3030
' or DecodePixelHeight but not both.
@@ -102,4 +102,4 @@ Namespace SDKSample
102102
End Function 'createPixelFormat
103103
End Class
104104
End Namespace 'ImagingSnippetGallery
105-
' </SnippetPixelFormatExample1>
105+
' </SnippetPixelFormatExample1>

dotnet-desktop-guide/samples/snippets/visualbasic/VS_Snippets_Wpf/ImagingSnippetGallery_procedural_snip/VB/TransformedBitmapExample.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Namespace SDKSample
2323
' To save significant application memory, set the DecodePixelWidth or
2424
' DecodePixelHeight of the BitmapImage value of the image source to the desired
2525
' height or width of the rendered image. If you don't do this, the application will
26-
' cache the image as though it were rendered as its normal size rather then just
26+
' cache the image as though it were rendered as its normal size rather than just
2727
' the size that is displayed.
2828
' Note: In order to preserve aspect ratio, set DecodePixelWidth
2929
' or DecodePixelHeight but not both.
@@ -68,4 +68,4 @@ Namespace SDKSample
6868
End Class
6969
End Namespace 'ImagingSnippetGallery
7070

71-
' </SnippetTransformedBitmapCodeExampleWholePage>
71+
' </SnippetTransformedBitmapCodeExampleWholePage>

0 commit comments

Comments
 (0)