diff --git a/xml/System.DirectoryServices.ActiveDirectory/DomainMode.xml b/xml/System.DirectoryServices.ActiveDirectory/DomainMode.xml index 591e32f33c9..a547542d017 100644 --- a/xml/System.DirectoryServices.ActiveDirectory/DomainMode.xml +++ b/xml/System.DirectoryServices.ActiveDirectory/DomainMode.xml @@ -212,7 +212,7 @@ 7 - [Supported in the .NET Framework 4.5.1 and later versions] The domain is operating in Windows Server 2012 R2 mode. + The domain is operating in Windows Server 2012 R2 mode. diff --git a/xml/System.DirectoryServices.ActiveDirectory/ForestMode.xml b/xml/System.DirectoryServices.ActiveDirectory/ForestMode.xml index 750c92a9ce1..893549279e3 100644 --- a/xml/System.DirectoryServices.ActiveDirectory/ForestMode.xml +++ b/xml/System.DirectoryServices.ActiveDirectory/ForestMode.xml @@ -189,7 +189,7 @@ 6 - [Supported in the .NET Framework 4.5.1 and later versions] The is operating in Windows Server 2012 R2 mode. + The is operating in Windows Server 2012 R2 mode. diff --git a/xml/System.DirectoryServices/DirectoryEntry.xml b/xml/System.DirectoryServices/DirectoryEntry.xml index 6e8e5875be7..826c2f59b5f 100644 --- a/xml/System.DirectoryServices/DirectoryEntry.xml +++ b/xml/System.DirectoryServices/DirectoryEntry.xml @@ -290,15 +290,8 @@ public class PrintChildren{ Gets or sets the type of authentication to use. - One of the values. - - . Beginning with .NET Framework 2.0, the default value is . - - ]]> - + One of the values. The default is . + To be added. diff --git a/xml/System.Drawing.Design/UITypeEditor.xml b/xml/System.Drawing.Design/UITypeEditor.xml index 556ed7c051f..de39074e883 100644 --- a/xml/System.Drawing.Design/UITypeEditor.xml +++ b/xml/System.Drawing.Design/UITypeEditor.xml @@ -493,15 +493,6 @@ ## Remarks Editors should paint within the boundaries of the specified rectangle. This rectangle indicates the area of the Properties window to draw a representation of the value within. - Starting with the .NET Framework 4.6, the rectangle specified by will be resized based on the system DPI setting when the app.config file contains the following entry: - -``` - - - - -``` - ]]> @@ -559,15 +550,6 @@ ## Remarks Editors should paint within the boundaries of the specified rectangle. This rectangle indicates the area of the Properties window to draw a representation of the value within. - Starting with the .NET Framework 4.6, the rectangle specified by will be resized based on the system DPI setting when the app.config file contains the following entry: - -``` - - - - -``` - ]]> diff --git a/xml/System.Drawing.Imaging/Metafile.xml b/xml/System.Drawing.Imaging/Metafile.xml index 21599972c96..32228f84324 100644 --- a/xml/System.Drawing.Imaging/Metafile.xml +++ b/xml/System.Drawing.Imaging/Metafile.xml @@ -57,7 +57,7 @@ method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file instead. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files. + When you use the method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file instead. This behavior occurs because the GDI+ component of .NET does not have an encoder that you can use to save files as .wmf or .emf files. [!INCLUDE[System.Drawing.Common note](~/includes/system-drawing-common.md)] diff --git a/xml/System.Drawing.Printing/PrintController.xml b/xml/System.Drawing.Printing/PrintController.xml index 4c64030c2e0..f8544897bc8 100644 --- a/xml/System.Drawing.Printing/PrintController.xml +++ b/xml/System.Drawing.Printing/PrintController.xml @@ -51,9 +51,9 @@ is used by , and not typically used directly. - The .NET Framework includes three print controllers that are derived from that help accomplish common tasks. The prints a document to a printer. The generates a preview of what the document will look like when printed and is used by the and classes. The provides a printing status dialog during the printing process. +.NET includes three print controllers that are derived from that help accomplish common tasks. The prints a document to a printer. The generates a preview of what the document will look like when printed and is used by the and classes. The provides a printing status dialog during the printing process. - For more information about printing with Windows Forms, see the namespace overview. If you wish to print from a Windows Presentation Foundation application, see the namespace. + For more information about printing with Windows Forms, see the namespace overview. If you want to print from a Windows Presentation Foundation application, see the namespace. ]]> diff --git a/xml/System.Drawing.Printing/PrintingPermission.xml b/xml/System.Drawing.Printing/PrintingPermission.xml index 582205e36e6..acd3e6d2990 100644 --- a/xml/System.Drawing.Printing/PrintingPermission.xml +++ b/xml/System.Drawing.Printing/PrintingPermission.xml @@ -131,14 +131,7 @@ One of the values. Initializes a new instance of the class with either fully restricted or unrestricted access, as specified. - - - + To be added. is not a valid . @@ -176,14 +169,7 @@ Creates and returns an identical copy of the current permission object. A copy of the current permission object. - - - + To be added. @@ -260,14 +246,7 @@ A permission object of the same type as the current permission object. Creates and returns a permission that is the intersection of the current permission object and a target permission object. A new permission object that represents the intersection of the current object and the specified target. This object is if the intersection is empty. - - - + To be added. is an object that is not of the same type as the current permission object. @@ -352,14 +331,7 @@ Gets a value indicating whether the permission is unrestricted. if permission is unrestricted; otherwise, . - - - + To be added. @@ -470,14 +442,7 @@ A permission object of the same type as the current permission object. Creates a permission that combines the permission object and the target permission object. A new permission object that represents the union of the current permission object and the specified permission object. - - is a permission that represents all the operations represented by the current permission object, and all the operations represented by the specified permission object. - - ]]> - + To be added. is an object that is not of the same type as the current permission object. diff --git a/xml/System.Drawing.Printing/PrintingPermissionAttribute.xml b/xml/System.Drawing.Printing/PrintingPermissionAttribute.xml index 4ca26c38979..e868c3407bc 100644 --- a/xml/System.Drawing.Printing/PrintingPermissionAttribute.xml +++ b/xml/System.Drawing.Printing/PrintingPermissionAttribute.xml @@ -44,14 +44,12 @@ Allows declarative printing permission checks. - diff --git a/xml/System.Drawing/Bitmap.xml b/xml/System.Drawing/Bitmap.xml index 881fa041f3f..2aa64e1ce44 100644 --- a/xml/System.Drawing/Bitmap.xml +++ b/xml/System.Drawing/Bitmap.xml @@ -63,11 +63,6 @@ [!INCLUDE[System.Drawing.Common note](~/includes/system-drawing-common.md)] -> [!NOTE] -> The class is not accessible across application domains. For example, if you create a dynamic and create several brushes, pens, and bitmaps in that domain, then pass these objects back to the main application domain, you can successfully use the pens and brushes. However, if you call the method to draw the marshaled , you receive the following exception: -> -> **Remoting cannot find field "native image" on type "System.Drawing.Image".** - ## Examples The following code example demonstrates how to construct a new from a file, using the and methods to recolor the image. It also uses the , , and properties. diff --git a/xml/System.Drawing/BufferedGraphics.xml b/xml/System.Drawing/BufferedGraphics.xml index 2cb7daeff20..ea5447151a7 100644 --- a/xml/System.Drawing/BufferedGraphics.xml +++ b/xml/System.Drawing/BufferedGraphics.xml @@ -56,7 +56,7 @@ > [!NOTE] > The simplest way to use double buffering is to set the control style flag on a control using the method. Setting the flag for a control redirects all painting for the control through a default graphics buffer, without requiring any additional code. This flag is set to `true` by default. - The class has no public constructor and must be created by the for an application domain using its method. You can retrieve the for the current application domain from the static property. + The class has no public constructor and must be created by the using its method. You can retrieve the from the static property. The property can be used for drawing to the graphics buffer. This property provides access to the object that draws to the graphics buffer allocated for this object. diff --git a/xml/System.Drawing/BufferedGraphicsContext.xml b/xml/System.Drawing/BufferedGraphicsContext.xml index 384d95268c5..6b3b86a26b6 100644 --- a/xml/System.Drawing/BufferedGraphicsContext.xml +++ b/xml/System.Drawing/BufferedGraphicsContext.xml @@ -56,12 +56,12 @@ The class provides methods for creating and configuring a graphics buffer. The method creates a , which is a wrapper for a graphics buffer that also provides methods you can use to write to the buffer and render its contents to an output device. - You can retrieve the for the current application domain from the static property. For graphically intensive applications such as animation, you can create a dedicated using the constructor, but for most applications the property will be sufficient. + You can retrieve the from the static property. For graphically intensive applications such as animation, you can create a dedicated using the constructor, but for most applications the property will be sufficient. For more information on drawing buffered graphics and custom buffering implementations, see [Double Buffered Graphics](/dotnet/desktop/winforms/advanced/double-buffered-graphics) and [How to: Manually Manage Buffered Graphics](/dotnet/desktop/winforms/advanced/how-to-manually-manage-buffered-graphics). ## Examples - The following code example demonstrates how to acquire the for the current application domain. This code is part of a larger example provided for the class. + The following code example demonstrates how to acquire the . This code is part of a larger example provided for the class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: @@ -169,9 +169,7 @@ method with a rectangle whose size exceeds the value of the property, a temporary is created to allocate the buffer and provide a temporary context for the buffer. The new is distinct from the for the application domain and it is disposed automatically when the returned by the method is disposed. - - + When you call the method with a rectangle whose size exceeds the value of the property, a temporary is created to allocate the buffer and provide a temporary context for the buffer. The new is distinct from the current and it is disposed automatically when the returned by the method is disposed. ## Examples The following code example demonstrates creating a graphics buffer using the method. This code is part of a larger example provided for the class. @@ -229,9 +227,7 @@ method with a rectangle whose size exceeds the value of the property, a temporary is created to allocate the buffer and provide a temporary context for the buffer. The new is distinct from the for the application domain and it is disposed automatically when the returned by the method is disposed. - - + When you call the method with a rectangle whose size exceeds the value of the property, a temporary is created to allocate the buffer and provide a temporary context for the buffer. The new is distinct from the current and it is disposed automatically when the returned by the method is disposed. ## Examples The following code example demonstrates creating a graphics buffer using the method. This code is part of a larger example provided for the class. diff --git a/xml/System.Drawing/BufferedGraphicsManager.xml b/xml/System.Drawing/BufferedGraphicsManager.xml index 394740269b0..f566fcd1797 100644 --- a/xml/System.Drawing/BufferedGraphicsManager.xml +++ b/xml/System.Drawing/BufferedGraphicsManager.xml @@ -46,14 +46,12 @@ ## Remarks The class allows you to implement custom double buffering for your graphics. Graphics that use double buffering can reduce or eliminate flicker that is caused by redrawing a display surface. - This class has one static property, , which returns the main for the current application domain. The class creates instances that can be used to draw buffered graphics. + This class has one static property, , which returns the current . The class creates instances that can be used to draw buffered graphics. - The class has no public constructor and must be created by the object for an application domain using its method. You can retrieve the object for the current application domain from the static property. + The class has no public constructor and must be created by the object using its method. You can retrieve the object from the static property. For more information on double buffering, see [Double Buffered Graphics](/dotnet/desktop/winforms/advanced/double-buffered-graphics), , and . - - ## Examples The following code example demonstrates acquiring the for the current application domain. @@ -97,18 +95,16 @@ System.Drawing.BufferedGraphicsContext - Gets the for the current application domain. - The for the current application domain. + Gets the current buffered graphics context. + The current buffered graphics context. property always returns the same object. - - + Within an application, the property always returns the same object. ## Examples - The following code example demonstrates acquiring the for the current application domain. + The following code example demonstrates acquiring the current buffered graphics context. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: diff --git a/xml/System.Drawing/Graphics.xml b/xml/System.Drawing/Graphics.xml index 2909603c9b1..e743a0b6ff9 100644 --- a/xml/System.Drawing/Graphics.xml +++ b/xml/System.Drawing/Graphics.xml @@ -19546,7 +19546,7 @@ The object has a transform applied othe property represents the world transformation, which maps world coordinates to page coordinates. + GDI+ uses three coordinate spaces: world, page, and device. World coordinates are the coordinates used to model a particular graphic world and are the coordinates you pass to methods in .NET. Page coordinates refer to the coordinate system used by a drawing surface, such as a form or a control. Device coordinates are the coordinates used by the physical device being drawn on, such as a screen or a printer. The property represents the world transformation, which maps world coordinates to page coordinates. Because the matrix returned and by the property is a copy of the geometric transform, you should dispose of the matrix when you no longer need it. diff --git a/xml/System.Drawing/Image.xml b/xml/System.Drawing/Image.xml index 904412f0ae8..e592354f171 100644 --- a/xml/System.Drawing/Image.xml +++ b/xml/System.Drawing/Image.xml @@ -1852,12 +1852,10 @@ method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files. + If no encoder exists for the file format of the image, the Portable Network Graphics (PNG) encoder is used. When you use the method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file. This behavior occurs because the GDI+ component of .NET does not have an encoder that you can use to save files as .wmf or .emf files. Saving the image to the same file it was constructed from is not allowed and throws an exception. - - ## Examples The following code example demonstrates how to call the method. This example is designed to be used with Windows Forms. Create a form that contains a button named `Button5`. Paste the code into the form, and associate the method with the button's event. diff --git a/xml/System.Drawing/StringUnit.xml b/xml/System.Drawing/StringUnit.xml index 04f7ddd67bc..0125508629f 100644 --- a/xml/System.Drawing/StringUnit.xml +++ b/xml/System.Drawing/StringUnit.xml @@ -33,14 +33,7 @@ Specifies the units of measure for a text string. - - - + To be added.