You've already forked linux-packaging-mono
78 lines
3.8 KiB
XML
78 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="IDeviceContext" FullName="System.Drawing.IDeviceContext">
|
|
<TypeSignature Language="C#" Value="public interface IDeviceContext : IDisposable" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Drawing</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Interfaces>
|
|
<Interface>
|
|
<InterfaceName>System.IDisposable</InterfaceName>
|
|
</Interface>
|
|
</Interfaces>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A device context defines the graphics object for drawing on a Windows-based device. An example of a class that implements the <see cref="T:System.Drawing.IDeviceContext" /> interface is the <see cref="T:System.Drawing.Graphics" /> class.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Defines methods for obtaining and releasing an existing handle to a Windows device context.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="GetHdc">
|
|
<MemberSignature Language="C#" Value="public IntPtr GetHdc ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.IntPtr</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>
|
|
<see cref="M:System.Drawing.IDeviceContext.GetHdc" /> and <see cref="M:System.Drawing.IDeviceContext.ReleaseHdc" /> are two methods that allow you to get and release the handle for a Windows-based device. You should always follow a call to <see cref="M:System.Drawing.IDeviceContext.GetHdc" /> with a call to <see cref="M:System.Drawing.IDeviceContext.ReleaseHdc" /> when you are finished with the Windows handle. </para>
|
|
<para>
|
|
<see cref="M:System.Drawing.IDeviceContext.GetHdc" /> is not designed to obtain handles created using Windows GDI methods such as CreateDC or CreateCompatibleDC.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns the handle to a Windows device context.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>An <see cref="T:System.IntPtr" /> representing the handle of a device context.</para>
|
|
</returns>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="ReleaseHdc">
|
|
<MemberSignature Language="C#" Value="public void ReleaseHdc ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>
|
|
<see cref="M:System.Drawing.IDeviceContext.GetHdc" /> and <see cref="M:System.Drawing.IDeviceContext.ReleaseHdc" /> are two methods that allow you to get and release the handle for a Windows-based device. You should always follow a call to <see cref="M:System.Drawing.IDeviceContext.GetHdc" /> with a call to <see cref="M:System.Drawing.IDeviceContext.ReleaseHdc" /> when you are finished with the Windows handle. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Releases the handle of a Windows device context.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |