You've already forked linux-packaging-mono
835 lines
50 KiB
XML
835 lines
50 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Type Name="Bitmap" FullName="System.Drawing.Bitmap">
|
||
<TypeSignature Language="C#" Maintainer="auto" Value="public sealed class Bitmap : System.Drawing.Image" />
|
||
<AssemblyInfo>
|
||
<AssemblyName>System.Drawing</AssemblyName>
|
||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 07 D1 FA 57 C4 AE D9 F0 A3 2E 84 AA 0F AE FD 0D E9 E8 FD 6A EC 8F 87 FB 03 76 6C 83 4C 99 92 1E B2 3B E7 9A D9 D5 DC C1 DD 9A D2 36 13 21 02 90 0B 72 3C F9 80 95 7F C4 E1 77 10 8F C6 07 77 4F 29 E8 32 0E 92 EA 05 EC E4 E8 21 C0 A5 EF E8 F1 64 5C 4C 0C 93 C1 AB 99 28 5D 62 2C AA 65 2C 1D FA D6 3D 74 5D 6F 2D E5 F1 7E 5E AF 0F C4 96 3D 26 1C 8A 12 43 65 18 20 6D C0 93 34 4D 5A D2 93]</AssemblyPublicKey>
|
||
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
||
<Base>
|
||
<BaseTypeName>System.Drawing.Image</BaseTypeName>
|
||
</Base>
|
||
<Interfaces>
|
||
</Interfaces>
|
||
<Attributes>
|
||
<Attribute>
|
||
<AttributeName>System.ComponentModel.Editor("System.Drawing.Design.BitmapEditor, System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
|
||
</Attribute>
|
||
<Attribute>
|
||
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
|
||
</Attribute>
|
||
</Attributes>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A bitmap consists of the pixel data for a graphics image and its attributes. There are many standard formats for saving a bitmap to a file. ndptecgdiplus supports the following file formats: BMP, GIF, EXIF, JPG, PNG and TIFF. For more information about supported formats, see <format type="text/html"><a href="6be085a2-2c13-47c8-b80a-c18b32777d8d">Types of Bitmaps</a></format>.</para>
|
||
<para>You can create images from files, streams, and other sources by using one of the <see cref="M:System.Drawing.Bitmap.#ctor(System.String,System.Boolean)" /> constructors and save them to a stream or to the file system with the <see cref="M:System.Drawing.Image.Save(System.IO.Stream,System.Drawing.Imaging.ImageCodecInfo,System.Drawing.Imaging.EncoderParameters)" /> method. Images are drawn to the screen or to memory by using the <see cref="M:System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Point)" /> method of the <see cref="T:System.Drawing.Graphics" /> object. For a list of topics about working with image files, see <format type="text/html"><a href="a626d701-bd99-4fd8-b92f-7b8f794e042b">Working with Images, Bitmaps, Icons, and Metafiles</a></format>.</para>
|
||
<block subset="none" type="note">
|
||
<para>The <see cref="T:System.Drawing.Bitmap" /> class is not accessible across application domains. For example, if you create a dynamic <see cref="T:System.AppDomain" /> 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 <see cref="M:System.Drawing.Graphics.DrawImage(System.Drawing.Image,System.Drawing.Point)" /> method to draw the marshaled <see cref="T:System.Drawing.Bitmap" />, you receive the following exception. </para>
|
||
<para>Remoting cannot find field "native image" on type "System.Drawing.Image".</para>
|
||
</block>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Encapsulates a ndptecgdiplus bitmap, which consists of the pixel data for a graphics image and its attributes. A <see cref="T:System.Drawing.Bitmap" /> is an object used to work with images defined by pixel data.</para>
|
||
</summary>
|
||
</Docs>
|
||
<Members>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (System.Drawing.Image original);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="original" Type="System.Drawing.Image" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified existing image.</para>
|
||
</summary>
|
||
<param name="original">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Image" /> from which to create the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (System.IO.Stream stream);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="stream" Type="System.IO.Stream" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>You must keep the stream open for the lifetime of the <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
<para>Due to a limitation of the ndptecgdiplus decoder, an <see cref="T:System.ArgumentException" /> is thrown if you construct a bitmap from a .png image file with a single dimension greater than 65,535 pixels.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified data stream.</para>
|
||
</summary>
|
||
<param name="stream">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The data stream used to load the image. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (string filename);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="filename" Type="System.String" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The file name and path can be relative to the application or an absolute path. Use this constructor to open images with the following file formats: BMP, GIF, EXIF, JPG, PNG and TIFF. For more information about supported formats, see <format type="text/html"><a href="6be085a2-2c13-47c8-b80a-c18b32777d8d">Types of Bitmaps</a></format>. The file remains locked until the <see cref="T:System.Drawing.Bitmap" /> is disposed. </para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified file.</para>
|
||
</summary>
|
||
<param name="filename">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The bitmap file name and path. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (System.Drawing.Image original, System.Drawing.Size newSize);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="original" Type="System.Drawing.Image" />
|
||
<Parameter Name="newSize" Type="System.Drawing.Size" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified existing image, scaled to the specified size.</para>
|
||
</summary>
|
||
<param name="original">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Image" /> from which to create the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="newSize">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Size" /> structure that represent the size of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (int width, int height);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="width" Type="System.Int32" />
|
||
<Parameter Name="height" Type="System.Int32" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>This constructor creates a <see cref="T:System.Drawing.Bitmap" /> with a <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration value of <see cref="F:System.Drawing.Imaging.PixelFormat.Format32bppArgb" />.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size.</para>
|
||
</summary>
|
||
<param name="width">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="height">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (System.IO.Stream stream, bool useIcm);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="stream" Type="System.IO.Stream" />
|
||
<Parameter Name="useIcm" Type="System.Boolean" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>You must keep the stream open for the lifetime of the <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
<para>Due to a limitation of the ndptecgdiplus decoder, an <see cref="T:System.ArgumentException" /> is thrown if you construct a bitmap from a .png image file with a single dimension greater than 65,535 pixels.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified data stream.</para>
|
||
</summary>
|
||
<param name="stream">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The data stream used to load the image. </param>
|
||
<param name="useIcm">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />true to use color correction for this <see cref="T:System.Drawing.Bitmap" />; otherwise, false. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (string filename, bool useIcm);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="filename" Type="System.String" />
|
||
<Parameter Name="useIcm" Type="System.Boolean" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Use this constructor to open images with the following file formats: BMP, GIF, EXIF, JPG, PNG and TIFF. For more information about supported formats, see <format type="text/html"><a href="6be085a2-2c13-47c8-b80a-c18b32777d8d">Types of Bitmaps</a></format>. The file remains locked until the <see cref="T:System.Drawing.Bitmap" /> is disposed.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified file.</para>
|
||
</summary>
|
||
<param name="filename">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The name of the bitmap file. </param>
|
||
<param name="useIcm">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />true to use color correction for this <see cref="T:System.Drawing.Bitmap" />; otherwise, false. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (Type type, string resource);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="type" Type="System.Type" />
|
||
<Parameter Name="resource" Type="System.String" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>This constructor combines the namespace of the given type with the string name of the resource and looks for a match in the assembly manifest. For example you can pass in the <see cref="T:System.Windows.Forms.Button" /> type and <paramref name="Button.bmp" /> to this constructor and it will look for a resource named System.Windows.Forms.Button.bmp.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from a specified resource.</para>
|
||
</summary>
|
||
<param name="type">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The class used to extract the resource. </param>
|
||
<param name="resource">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The name of the resource. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (System.Drawing.Image original, int width, int height);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="original" Type="System.Drawing.Image" />
|
||
<Parameter Name="width" Type="System.Int32" />
|
||
<Parameter Name="height" Type="System.Int32" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class from the specified existing image, scaled to the specified size.</para>
|
||
</summary>
|
||
<param name="original">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Image" /> from which to create the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="width">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="height">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (int width, int height, System.Drawing.Graphics g);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="width" Type="System.Int32" />
|
||
<Parameter Name="height" Type="System.Int32" />
|
||
<Parameter Name="g" Type="System.Drawing.Graphics" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The new <see cref="T:System.Drawing.Bitmap" /> that this method creates takes its horizontal and vertical resolution from the <see cref="P:System.Drawing.Graphics.DpiX" /> and <see cref="P:System.Drawing.Graphics.DpiY" /> properties of <paramref name="g" />, respectively.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size and with the resolution of the specified <see cref="T:System.Drawing.Graphics" /> object.</para>
|
||
</summary>
|
||
<param name="width">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="height">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="g">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> object that specifies the resolution for the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (int width, int height, System.Drawing.Imaging.PixelFormat format);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="width" Type="System.Int32" />
|
||
<Parameter Name="height" Type="System.Int32" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size and format.</para>
|
||
</summary>
|
||
<param name="width">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="height">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The pixel format for the new <see cref="T:System.Drawing.Bitmap" />. This must specify a value that begins with <paramref name="Format" />.</param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName=".ctor">
|
||
<MemberSignature Language="C#" Value="public Bitmap (int width, int height, int stride, System.Drawing.Imaging.PixelFormat format, IntPtr scan0);" />
|
||
<MemberType>Constructor</MemberType>
|
||
<ReturnValue />
|
||
<Parameters>
|
||
<Parameter Name="width" Type="System.Int32" />
|
||
<Parameter Name="height" Type="System.Int32" />
|
||
<Parameter Name="stride" Type="System.Int32" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
<Parameter Name="scan0" Type="System.IntPtr" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The caller is responsible for allocating and freeing the block of memory specified by the <paramref name="scan0" /> parameter. However, the memory should not be released until the related <see cref="T:System.Drawing.Bitmap" /> is released.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initializes a new instance of the <see cref="T:System.Drawing.Bitmap" /> class with the specified size, pixel format, and pixel data.</para>
|
||
</summary>
|
||
<param name="width">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The width, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="height">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The height, in pixels, of the new <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="stride">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />Integer that specifies the byte offset between the beginning of one scan line and the next. This is usually (but not necessarily) the number of bytes in the pixel format (for example, 2 for 16 bits per pixel) multiplied by the width of the bitmap. The value passed to this parameter must be a multiple of four.. </param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The pixel format for the new <see cref="T:System.Drawing.Bitmap" />. This must specify a value that begins with <paramref name="Format" />.</param>
|
||
<param name="scan0">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />Pointer to an array of bytes that contains the pixel data.</param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="Clone">
|
||
<MemberSignature Language="C#" Value="public System.Drawing.Bitmap Clone (System.Drawing.Rectangle rect, System.Drawing.Imaging.PixelFormat format);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Bitmap</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="rect" Type="System.Drawing.Rectangle" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a copy of the section of this <see cref="T:System.Drawing.Bitmap" /> defined by <see cref="T:System.Drawing.Rectangle" /> structure and with a specified <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The new <see cref="T:System.Drawing.Bitmap" /> that this method creates.</para>
|
||
</returns>
|
||
<param name="rect">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />Defines the portion of this <see cref="T:System.Drawing.Bitmap" /> to copy. Coordinates are relative to this <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The pixel format for the new <see cref="T:System.Drawing.Bitmap" />. This must specify a value that begins with <paramref name="Format" />.</param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="Clone">
|
||
<MemberSignature Language="C#" Value="public System.Drawing.Bitmap Clone (System.Drawing.RectangleF rect, System.Drawing.Imaging.PixelFormat format);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Bitmap</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="rect" Type="System.Drawing.RectangleF" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a copy of the section of this <see cref="T:System.Drawing.Bitmap" /> defined with a specified <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The <see cref="T:System.Drawing.Bitmap" /> that this method creates.</para>
|
||
</returns>
|
||
<param name="rect">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />Defines the portion of this <see cref="T:System.Drawing.Bitmap" /> to copy. </param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />Specifies the <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration for the destination <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="FromHicon">
|
||
<MemberSignature Language="C#" Value="public static System.Drawing.Bitmap FromHicon (IntPtr hicon);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Bitmap</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="hicon" Type="System.IntPtr" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a <see cref="T:System.Drawing.Bitmap" /> from a Windows handle to an icon.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The <see cref="T:System.Drawing.Bitmap" /> that this method creates.</para>
|
||
</returns>
|
||
<param name="hicon">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A handle to an icon. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="FromResource">
|
||
<MemberSignature Language="C#" Value="public static System.Drawing.Bitmap FromResource (IntPtr hinstance, string bitmapName);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Bitmap</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="hinstance" Type="System.IntPtr" />
|
||
<Parameter Name="bitmapName" Type="System.String" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>
|
||
<see cref="M:System.Drawing.Bitmap.FromResource(System.IntPtr,System.String)" /> requires security permission to call unmanaged code. For a managed alternative for creating a bitmap from an embedded resource, see <see cref="M:System.Drawing.Bitmap.#ctor(System.Type,System.String)" />. <see cref="M:System.Drawing.Bitmap.FromResource(System.IntPtr,System.String)" /> works only with bitmaps that are named resources in a DLL.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a <see cref="T:System.Drawing.Bitmap" /> from the specified Windows resource.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The <see cref="T:System.Drawing.Bitmap" /> that this method creates.</para>
|
||
</returns>
|
||
<param name="hinstance">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A handle to an instance of the executable file that contains the resource. </param>
|
||
<param name="bitmapName">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A string that contains the name of the resource bitmap. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="GetHbitmap">
|
||
<MemberSignature Language="C#" Value="public IntPtr GetHbitmap ();" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.IntPtr</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters />
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>You are responsible for calling the ndptecgdi <unmanagedCodeEntityReference>DeleteObject</unmanagedCodeEntityReference> method to free the memory used by the ndptecgdi bitmap object. For more information about GDI bitmaps, see <see cref="http://go.microsoft.com/fwlink/?LinkId=205685">Bitmaps</see> in the Windows GDI documentation.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a ndptecgdi bitmap object from this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A handle to the ndptecgdi bitmap object that this method creates.</para>
|
||
</returns>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
<Attributes>
|
||
<Attribute>
|
||
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
|
||
</Attribute>
|
||
</Attributes>
|
||
</Member>
|
||
<Member MemberName="GetHbitmap">
|
||
<MemberSignature Language="C#" Value="public IntPtr GetHbitmap (System.Drawing.Color background);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.IntPtr</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="background" Type="System.Drawing.Color" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>You are responsible for calling the ndptecgdi <unmanagedCodeEntityReference>DeleteObject</unmanagedCodeEntityReference> method to free the memory used by the ndptecgdi bitmap object. For more information about GDI bitmaps, see <see cref="http://go.microsoft.com/fwlink/?LinkId=205685">Bitmaps</see> in the Windows GDI documentation.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Creates a ndptecgdi bitmap object from this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A handle to the ndptecgdi bitmap object that this method creates.</para>
|
||
</returns>
|
||
<param name="background">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Color" /> structure that specifies the background color. This parameter is ignored if the bitmap is totally opaque. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
<Attributes>
|
||
<Attribute>
|
||
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
|
||
</Attribute>
|
||
</Attributes>
|
||
</Member>
|
||
<Member MemberName="GetHicon">
|
||
<MemberSignature Language="C#" Value="public IntPtr GetHicon ();" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.IntPtr</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters />
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Initially, an icon created from the handle will have the same size as the original bitmap.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Returns the handle to an icon.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A Windows handle to an icon with the same image as the <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</returns>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
<Attributes>
|
||
<Attribute>
|
||
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
|
||
</Attribute>
|
||
</Attributes>
|
||
</Member>
|
||
<Member MemberName="GetPixel">
|
||
<MemberSignature Language="C#" Value="public System.Drawing.Color GetPixel (int x, int y);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Color</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="x" Type="System.Int32" />
|
||
<Parameter Name="y" Type="System.Int32" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>To be added</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Gets the color of the specified pixel in this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A <see cref="T:System.Drawing.Color" /> structure that represents the color of the specified pixel.</para>
|
||
</returns>
|
||
<param name="x">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The x-coordinate of the pixel to retrieve. </param>
|
||
<param name="y">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The y-coordinate of the pixel to retrieve. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="LockBits">
|
||
<MemberSignature Language="C#" Value="public System.Drawing.Imaging.BitmapData LockBits (System.Drawing.Rectangle rect, System.Drawing.Imaging.ImageLockMode flags, System.Drawing.Imaging.PixelFormat format);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Imaging.BitmapData</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="rect" Type="System.Drawing.Rectangle" />
|
||
<Parameter Name="flags" Type="System.Drawing.Imaging.ImageLockMode" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Use the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method to lock an existing bitmap in system memory so that it can be changed programmatically. You can change the color of an image with the <see cref="M:System.Drawing.Bitmap.SetPixel(System.Int32,System.Int32,System.Drawing.Color)" /> method, although the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method offers better performance for large-scale changes. </para>
|
||
<para>The <see cref="T:System.Drawing.Imaging.BitmapData" /> specifies the attributes of the <see cref="T:System.Drawing.Bitmap" />, such as size, pixel format, the starting address of the pixel data in memory, and length of each scan line (stride).</para>
|
||
<para>When calling this method, you should use a member of the <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration that contains a specific bits-per-pixel (BPP) value. Using <see cref="T:System.Drawing.Imaging.PixelFormat" /> values such as <see cref="F:System.Drawing.Imaging.PixelFormat.Indexed" /> and <see cref="F:System.Drawing.Imaging.PixelFormat.Gdi" /> will throw an <see cref="T:System.ArgumentException" />. Also, passing the incorrect pixel format for a bitmap will throw an <see cref="T:System.ArgumentException" />.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Locks a <see cref="T:System.Drawing.Bitmap" /> into system memory.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A <see cref="T:System.Drawing.Imaging.BitmapData" /> that contains information about this lock operation.</para>
|
||
</returns>
|
||
<param name="rect">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> structure that specifies the portion of the <see cref="T:System.Drawing.Bitmap" /> to lock. </param>
|
||
<param name="flags">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Imaging.ImageLockMode" /> enumeration that specifies the access level (read/write) for the <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration that specifies the data format of this <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="LockBits">
|
||
<MemberSignature Language="C#" Value="public System.Drawing.Imaging.BitmapData LockBits (System.Drawing.Rectangle rect, System.Drawing.Imaging.ImageLockMode flags, System.Drawing.Imaging.PixelFormat format, System.Drawing.Imaging.BitmapData bitmapData);" />
|
||
<MemberType>Method</MemberType>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
<ReturnValue>
|
||
<ReturnType>System.Drawing.Imaging.BitmapData</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="rect" Type="System.Drawing.Rectangle" />
|
||
<Parameter Name="flags" Type="System.Drawing.Imaging.ImageLockMode" />
|
||
<Parameter Name="format" Type="System.Drawing.Imaging.PixelFormat" />
|
||
<Parameter Name="bitmapData" Type="System.Drawing.Imaging.BitmapData" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Use the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method to lock an existing bitmap in system memory so that it can be changed programmatically. You can change the color of an image with the <see cref="M:System.Drawing.Bitmap.SetPixel(System.Int32,System.Int32,System.Drawing.Color)" /> method, although the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method offers better performance for large-scale changes. </para>
|
||
<para>When calling this method, you should use a member of the <see cref="T:System.Drawing.Imaging.PixelFormat" /> enumeration that contains a specific bits-per-pixel (BPP) value. Using <see cref="T:System.Drawing.Imaging.PixelFormat" /> values, such as <see cref="F:System.Drawing.Imaging.PixelFormat.Indexed" /> and <see cref="F:System.Drawing.Imaging.PixelFormat.Gdi" />, will throw an <see cref="T:System.ArgumentException" />. Also, passing the incorrect pixel format for a bitmap will throw an <see cref="T:System.ArgumentException" />.</para>
|
||
<para>This version of the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method is intended to be used with a <paramref name="flags" /> value of <see cref="F:System.Drawing.Imaging.ImageLockMode.UserInputBuffer" />.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Locks a <see cref="T:System.Drawing.Bitmap" /> into system memory </para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>A <see cref="T:System.Drawing.Imaging.BitmapData" /> that contains information about the lock operation.</para>
|
||
</returns>
|
||
<param name="rect">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A rectangle structure that specifies the portion of the <see cref="T:System.Drawing.Bitmap" /> to lock.</param>
|
||
<param name="flags">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Drawing.Imaging.ImageLockMode" /> values that specifies the access level (read/write) for the <see cref="T:System.Drawing.Bitmap" />.</param>
|
||
<param name="format">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Drawing.Imaging.PixelFormat" /> values that specifies the data format of the <see cref="T:System.Drawing.Bitmap" />.</param>
|
||
<param name="bitmapData">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Imaging.BitmapData" /> that contains information about the lock operation.</param>
|
||
</Docs>
|
||
</Member>
|
||
<Member MemberName="MakeTransparent">
|
||
<MemberSignature Language="C#" Value="public void MakeTransparent ();" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Void</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters />
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The system palette defines one color as the default transparent, or alpha, color. This method makes the default transparent color transparent for this <see cref="T:System.Drawing.Bitmap" />. If no transparent color is specified by the system, <see cref="P:System.Drawing.Color.LightGray" /> is the transparent color.</para>
|
||
<para>When you call <see cref="M:System.Drawing.Bitmap.MakeTransparent(System.Drawing.Color)" />, the bitmap will be converted to the <see cref="F:System.Drawing.Imaging.PixelFormat.Format32bppArgb" /> format, as this format supports an alpha channel. </para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Makes the default transparent color transparent for this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>This method does not return a value.</para>
|
||
</returns>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="MakeTransparent">
|
||
<MemberSignature Language="C#" Value="public void MakeTransparent (System.Drawing.Color transparentColor);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Void</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="transparentColor" Type="System.Drawing.Color" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>When you call <see cref="M:System.Drawing.Bitmap.MakeTransparent(System.Drawing.Color)" />, the bitmap will be converted to the <see cref="F:System.Drawing.Imaging.PixelFormat.Format32bppArgb" /> format, as this format supports an alpha channel. </para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Makes the specified color transparent for this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<param name="transparentColor">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Color" /> structure that represents the color to make transparent. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="SetPixel">
|
||
<MemberSignature Language="C#" Value="public void SetPixel (int x, int y, System.Drawing.Color color);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Void</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="x" Type="System.Int32" />
|
||
<Parameter Name="y" Type="System.Int32" />
|
||
<Parameter Name="color" Type="System.Drawing.Color" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Use <see cref="M:System.Drawing.Bitmap.SetPixel(System.Int32,System.Int32,System.Drawing.Color)" /> method to set the color of an individual pixel in an image programmatically. You can also change an image programmatically by using the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method. Typically for large-scale changes, the <see cref="Overload:System.Drawing.Bitmap.LockBits" /> method offers better performance.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Sets the color of the specified pixel in this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<returns>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>This method does not return a value.</para>
|
||
</returns>
|
||
<param name="x">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The x-coordinate of the pixel to set. </param>
|
||
<param name="y">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The y-coordinate of the pixel to set. </param>
|
||
<param name="color">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Color" /> structure that represents the color to assign to the specified pixel. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="SetResolution">
|
||
<MemberSignature Language="C#" Value="public void SetResolution (float xDpi, float yDpi);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Void</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="xDpi" Type="System.Single" />
|
||
<Parameter Name="yDpi" Type="System.Single" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Use this method to set the desired resolution on a newly created bitmap. Changing the resolution of the image does not change its physical size.</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Sets the resolution for this <see cref="T:System.Drawing.Bitmap" />.</para>
|
||
</summary>
|
||
<param name="xDpi">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The horizontal resolution, in dots per inch, of the <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
<param name="yDpi">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />The vertical resolution, in dots per inch, of the <see cref="T:System.Drawing.Bitmap" />. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
<Member MemberName="UnlockBits">
|
||
<MemberSignature Language="C#" Value="public void UnlockBits (System.Drawing.Imaging.BitmapData bitmapdata);" />
|
||
<MemberType>Method</MemberType>
|
||
<ReturnValue>
|
||
<ReturnType>System.Void</ReturnType>
|
||
</ReturnValue>
|
||
<Parameters>
|
||
<Parameter Name="bitmapdata" Type="System.Drawing.Imaging.BitmapData" />
|
||
</Parameters>
|
||
<Docs>
|
||
<remarks>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>The <see cref="T:System.Drawing.Imaging.BitmapData" /> specifies the attributes of the <see cref="T:System.Drawing.Bitmap" />, such as size, pixel format, the starting address of the pixel data in memory, and length of each scan line (stride).</para>
|
||
</remarks>
|
||
<summary>
|
||
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
<para>Unlocks this <see cref="T:System.Drawing.Bitmap" /> from system memory.</para>
|
||
</summary>
|
||
<param name="bitmapdata">
|
||
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Imaging.BitmapData" /> that specifies information about the lock operation. </param>
|
||
</Docs>
|
||
<AssemblyInfo>
|
||
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
</AssemblyInfo>
|
||
</Member>
|
||
</Members>
|
||
</Type> |