Skip to content

Commit c532da9

Browse files
committed
use absolute links since they'll go in IntelliSense eventually
1 parent a324cb8 commit c532da9

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

xml/System.Drawing/Graphics.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@
6060

6161
[!INCLUDE[System.Drawing.Common note](~/includes/system-drawing-common.md)]
6262

63-
You can obtain a <xref:System.Drawing.Graphics> object by calling the <xref:System.Windows.Forms.Control.CreateGraphics%2A?displayProperty=nameWithType> method on an object that inherits from <xref:System.Windows.Forms.Control?displayProperty=nameWithType>, or by handling a control's <xref:System.Windows.Forms.Control.Paint?displayProperty=nameWithType> event and accessing the <xref:System.Windows.Forms.PaintEventArgs.Graphics%2A> property of the <xref:System.Windows.Forms.PaintEventArgs?displayProperty=nameWithType> class. You can also create a <xref:System.Drawing.Graphics> object from an image by using the <xref:System.Drawing.Graphics.FromImage%2A> method. For more information about creating a <xref:System.Drawing.Graphics> object, see [How to: Create Graphics Objects for Drawing](/dotnet/framework/winforms/advanced/how-to-create-graphics-objects-for-drawing).
63+
You can obtain a <xref:System.Drawing.Graphics> object by calling the <xref:System.Windows.Forms.Control.CreateGraphics%2A?displayProperty=nameWithType> method on an object that inherits from <xref:System.Windows.Forms.Control?displayProperty=nameWithType>, or by handling a control's <xref:System.Windows.Forms.Control.Paint?displayProperty=nameWithType> event and accessing the <xref:System.Windows.Forms.PaintEventArgs.Graphics%2A> property of the <xref:System.Windows.Forms.PaintEventArgs?displayProperty=nameWithType> class. You can also create a <xref:System.Drawing.Graphics> object from an image by using the <xref:System.Drawing.Graphics.FromImage%2A> method. For more information about creating a <xref:System.Drawing.Graphics> object, see [How to: Create Graphics Objects for Drawing](https://learn.microsoft.com/dotnet/framework/winforms/advanced/how-to-create-graphics-objects-for-drawing).
6464

65-
You can draw many different shapes and lines by using a <xref:System.Drawing.Graphics> object. For more information about how to draw lines and shapes, see the specific `Draw`*GraphicalElement* method for the line or shape you want to draw. These methods include <xref:System.Drawing.Graphics.DrawLine%2A>, <xref:System.Drawing.Graphics.DrawArc%2A>, <xref:System.Drawing.Graphics.DrawClosedCurve%2A>, <xref:System.Drawing.Graphics.DrawPolygon%2A>, and <xref:System.Drawing.Graphics.DrawRectangle%2A>. For more information about how to draw lines and shapes, see [Using a Pen to Draw Lines and Shapes](/dotnet/desktop/winforms/advanced/using-a-pen-to-draw-lines-and-shapes) and [Using a Brush to Fill Shapes](/dotnet/framework/winforms/advanced/using-a-brush-to-fill-shapes).
65+
You can draw many different shapes and lines by using a <xref:System.Drawing.Graphics> object. For more information about how to draw lines and shapes, see the specific `Draw`*GraphicalElement* method for the line or shape you want to draw. These methods include <xref:System.Drawing.Graphics.DrawLine%2A>, <xref:System.Drawing.Graphics.DrawArc%2A>, <xref:System.Drawing.Graphics.DrawClosedCurve%2A>, <xref:System.Drawing.Graphics.DrawPolygon%2A>, and <xref:System.Drawing.Graphics.DrawRectangle%2A>. For more information about how to draw lines and shapes, see [Using a Pen to Draw Lines and Shapes](https://learn.microsoft.com/dotnet/desktop/winforms/advanced/using-a-pen-to-draw-lines-and-shapes) and [Using a Brush to Fill Shapes](https://learn.microsoft.com/dotnet/framework/winforms/advanced/using-a-brush-to-fill-shapes).
6666

67-
You can also draw images and icons by using the <xref:System.Drawing.Graphics.DrawImage%2A> and <xref:System.Drawing.Graphics.DrawIcon%2A> methods, respectively. To perform a bit-block transfer of color data from the screen to the drawing surface of the <xref:System.Drawing.Graphics> object, see <xref:System.Drawing.Graphics.CopyFromScreen%2A>. For more information about how to draw images with a <xref:System.Drawing.Graphics> object, see [Working with Images, Bitmaps, Icons, and Metafiles](/dotnet/desktop/winforms/advanced/images-bitmaps-and-metafiles).
67+
You can also draw images and icons by using the <xref:System.Drawing.Graphics.DrawImage%2A> and <xref:System.Drawing.Graphics.DrawIcon%2A> methods, respectively. To perform a bit-block transfer of color data from the screen to the drawing surface of the <xref:System.Drawing.Graphics> object, see <xref:System.Drawing.Graphics.CopyFromScreen%2A>. For more information about how to draw images with a <xref:System.Drawing.Graphics> object, see [Working with Images, Bitmaps, Icons, and Metafiles](https://learn.microsoft.com/dotnet/desktop/winforms/advanced/images-bitmaps-and-metafiles).
6868

69-
In addition, you can manipulate the coordinate system used by the <xref:System.Drawing.Graphics> object. For more information on the coordinate system and how to manipulate it, see [Coordinate Systems and Transformations](/dotnet/framework/winforms/advanced/coordinate-systems-and-transformations).
69+
In addition, you can manipulate the coordinate system used by the <xref:System.Drawing.Graphics> object. For more information on the coordinate system and how to manipulate it, see [Coordinate Systems and Transformations](https://learn.microsoft.com/dotnet/framework/winforms/advanced/coordinate-systems-and-transformations).
7070

7171
## Examples
7272
The following code example is designed for use with Windows Forms and requires a <xref:System.Windows.Forms.PaintEventArgs> object. The <xref:System.Windows.Forms.PaintEventArgs> object is named `e` and is a parameter of the <xref:System.Windows.Forms.Control.Paint> event handler. The code performs the following actions:
@@ -1002,7 +1002,7 @@ The following code example is designed for use with Windows Forms, and it requir
10021002
## Remarks
10031003
For more information about creating high-resolution applications, see
10041004

1005-
[High DPI](/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows).
1005+
[High DPI](https://learn.microsoft.com/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows).
10061006

10071007

10081008

@@ -1054,7 +1054,7 @@ The following code example is designed for use with Windows Forms, and it requir
10541054
## Remarks
10551055
For more information about creating high-resolution applications, see
10561056

1057-
[High DPI](/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows).
1057+
[High DPI](https://learn.microsoft.com/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows).
10581058

10591059

10601060

xml/System.Printing/PrintQueue.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
## Remarks
130130
<xref:System.Printing.PrintQueue> constructors that do not include a <xref:System.Printing.PrintSystemDesiredAccess> parameter default to <xref:System.Printing.PrintSystemDesiredAccess.UsePrinter> access.
131131
132-
The [Print Schema](/windows/win32/printdocs/printschema) version released with Windows Vista is "1".
132+
The [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) version released with Windows Vista is "1".
133133
134134
]]></format>
135135
</remarks>
@@ -306,7 +306,7 @@
306306
<format type="text/markdown"><![CDATA[
307307
308308
## Remarks
309-
The [Print Schema](/windows/win32/printdocs/printschema) version released with Windows Vista is "1".
309+
The [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) version released with Windows Vista is "1".
310310
311311
]]></format>
312312
</remarks>
@@ -634,7 +634,7 @@
634634
<format type="text/markdown"><![CDATA[
635635
636636
## Remarks
637-
If `fastCopy` is `true`, then the printer must be an [Printing Overview](/dotnet/framework/wpf/advanced/printing-overview). If it is not, the <xref:System.Printing.PrintQueue.AddJob%28System.String%2CSystem.String%2CSystem.Boolean%29> method throws an exception.
637+
If `fastCopy` is `true`, then the printer must be an [Printing Overview](https://learn.microsoft.com/dotnet/framework/wpf/advanced/printing-overview). If it is not, the <xref:System.Printing.PrintQueue.AddJob%28System.String%2CSystem.String%2CSystem.Boolean%29> method throws an exception.
638638
639639
If `fastCopy` is `false`, then it is not necessary to use an XPSDrv printer. The XPS file being added to the queue is converted to the printer's page description language, such as PCL or Postscript. However, this kind of printing makes a call to Component Object Model (COM). The call to COM requires that the calling thread have a single-threaded apartment (<xref:System.Threading.ApartmentState.STA>) instead of multiple-threaded apartment (<xref:System.Threading.ApartmentState.MTA>) which is the default in Microsoft .NET 2.0 and later. (For more on threading and apartment states, see [Managed and Unmanaged Threading](https://msdn.microsoft.com/library/db425c20-4b2f-4433-bf96-76071c7881e5), and <xref:System.Threading.ApartmentState>.) There are two ways of doing this:
640640
@@ -768,7 +768,7 @@
768768
<format type="text/markdown"><![CDATA[
769769
770770
## Remarks
771-
The [Print Schema](/windows/win32/printdocs/printschema) version released with Windows Vista is 1.
771+
The [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) version released with Windows Vista is 1.
772772
773773
]]></format>
774774
</remarks>
@@ -1528,7 +1528,7 @@
15281528
<format type="text/markdown"><![CDATA[
15291529
15301530
## Remarks
1531-
The <xref:System.Printing.PrintTicket> parameter is used as the basis on which to construct the <xref:System.Printing.PrintCapabilities> object. For example, suppose the printer supported only media types A and B from input bin 1 and it only supported media type C from input bin 2. If the `printTicket` parameter specified input bin 1, then the <xref:System.Printing.PrintCapabilities> object that is returned would include all three media types, but it would report type C as "constrained." If the `printTicket` parameter specified input bin 2, then the <xref:System.Printing.PrintCapabilities> object that is returned would include all three media types, but it would report types A and B as "constrained." See the [Print Schema](/windows/win32/printdocs/printschema) for more information on constraints.
1531+
The <xref:System.Printing.PrintTicket> parameter is used as the basis on which to construct the <xref:System.Printing.PrintCapabilities> object. For example, suppose the printer supported only media types A and B from input bin 1 and it only supported media type C from input bin 2. If the `printTicket` parameter specified input bin 1, then the <xref:System.Printing.PrintCapabilities> object that is returned would include all three media types, but it would report type C as "constrained." If the `printTicket` parameter specified input bin 2, then the <xref:System.Printing.PrintCapabilities> object that is returned would include all three media types, but it would report types A and B as "constrained." See the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) for more information on constraints.
15321532
15331533
If `printTicket` is `null`, the <xref:System.Printing.PrintQueue.UserPrintTicket%2A> is used.
15341534
@@ -1550,7 +1550,7 @@
15501550
<format type="text/markdown"><![CDATA[
15511551
15521552
## Remarks
1553-
The XML schema used is called "PrintCapabilities," a part of the [Print Schema](/windows/win32/printdocs/printschema) system.
1553+
The XML schema used is called "PrintCapabilities," a part of the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) system.
15541554
15551555
]]></format>
15561556
</remarks>
@@ -1629,7 +1629,7 @@
16291629
<format type="text/markdown"><![CDATA[
16301630
16311631
## Remarks
1632-
The <xref:System.Printing.PrintTicket> parameter is used as the basis on which to construct the print capabilities XML. For example, suppose the printer supported only media types A and B from input bin 1 and it only supported media type C from input bin 2. If the `printTicket` parameter specified input bin 1, then the print capabilities XML that is returned would include all three media types, but it would report type C as "constrained." If the `printTicket` parameter specified input bin 2, then the print capabilities XML that is returned would include all three media types, but it would report types A and B as "constrained." See the [Print Schema](/windows/win32/printdocs/printschema) for more information on constraints.
1632+
The <xref:System.Printing.PrintTicket> parameter is used as the basis on which to construct the print capabilities XML. For example, suppose the printer supported only media types A and B from input bin 1 and it only supported media type C from input bin 2. If the `printTicket` parameter specified input bin 1, then the print capabilities XML that is returned would include all three media types, but it would report type C as "constrained." If the `printTicket` parameter specified input bin 2, then the print capabilities XML that is returned would include all three media types, but it would report types A and B as "constrained." See the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) for more information on constraints.
16331633
16341634
If `printTicket` is `null`, the <xref:System.Printing.PrintQueue.UserPrintTicket%2A> is used.
16351635
@@ -3120,7 +3120,7 @@
31203120
<format type="text/markdown"><![CDATA[
31213121
31223122
## Remarks
3123-
The version of the [Print Schema](/windows/win32/printdocs/printschema) released with Windows Vista is 1.
3123+
The version of the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) released with Windows Vista is 1.
31243124
31253125
]]></format>
31263126
</remarks>
@@ -3176,7 +3176,7 @@
31763176
<format type="text/markdown"><![CDATA[
31773177
31783178
## Remarks
3179-
The method produces a viable print ticket; that is, a ticket that does not request printing features that the printer does not support. The method first validates the two input print tickets against the [Print Schema](/windows/win32/printdocs/printschema). If either is invalid, an exception is thrown.
3179+
The method produces a viable print ticket; that is, a ticket that does not request printing features that the printer does not support. The method first validates the two input print tickets against the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema). If either is invalid, an exception is thrown.
31803180
31813181
The two tickets are then merged. If they have different values for a particular property then the resulting merged ticket initially uses the value of the delta ticket.
31823182
@@ -3245,7 +3245,7 @@
32453245
<format type="text/markdown"><![CDATA[
32463246
32473247
## Remarks
3248-
The method produces a viable print ticket; that is, a ticket that does not request printing features that the printer does not support. The method first validates the two input print tickets against the [Print Schema](/windows/win32/printdocs/printschema). If either is invalid, an exception is thrown.
3248+
The method produces a viable print ticket; that is, a ticket that does not request printing features that the printer does not support. The method first validates the two input print tickets against the [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema). If either is invalid, an exception is thrown.
32493249
32503250
The two tickets are then merged. If they have different values for a particular property then the resulting merged ticket initially uses the value of the delta ticket.
32513251
@@ -3255,7 +3255,7 @@
32553255
32563256
The `deltaPrintTicket` parameter can be `null`, in which case the `basePrintTicket` is validated, checked for viability, and returned, possibly with changes.
32573257
3258-
If the `scope` is a job, then the print ticket returned in the <xref:System.Printing.ValidationResult> can include [Print Schema](/windows/win32/printdocs/printschema) parameters with Job, Document, and Page prefixes. If the `scope` is a document, then per-job settings in `deltaPrintTicket` are ignored, and the returned ticket can include parameters with Document and Page prefixes. If the `scope` is a page, then the per-job settings and the per-document settings in `deltaPrintTicket` are ignored, and the returned ticket can include parameters with only the Page prefix.
3258+
If the `scope` is a job, then the print ticket returned in the <xref:System.Printing.ValidationResult> can include [Print Schema](https://learn.microsoft.com/windows/win32/printdocs/printschema) parameters with Job, Document, and Page prefixes. If the `scope` is a document, then per-job settings in `deltaPrintTicket` are ignored, and the returned ticket can include parameters with Document and Page prefixes. If the `scope` is a page, then the per-job settings and the per-document settings in `deltaPrintTicket` are ignored, and the returned ticket can include parameters with only the Page prefix.
32593259
32603260
]]></format>
32613261
</remarks>

xml/System.Threading.Tasks/TaskCanceledException.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<format type="text/markdown"><![CDATA[
299299
300300
## Remarks
301-
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see [XML and SOAP Serialization](/dotnet/standard/serialization/xml-and-soap-serialization).
301+
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see [XML and SOAP Serialization](https://learn.microsoft.com/dotnet/standard/serialization/xml-and-soap-serialization).
302302
303303
]]></format>
304304
</remarks>

0 commit comments

Comments
 (0)