307 lines
12 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="PaperSource" FullName="System.Drawing.Printing.PaperSource">
<TypeSignature Language="C#" Value="public class PaperSource" Maintainer="auto" />
<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 &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This class is used by <see cref="P:System.Drawing.Printing.PrinterSettings.PaperSources" /> and <see cref="P:System.Drawing.Printing.PageSettings.PaperSource" /> properties to get the paper source trays that are available on the printer and to set the paper source for a page, respectively.</para>
<para>For more information about printing, see the <see cref="N:System.Drawing.Printing" /> namespace overview.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the paper tray from which the printer gets paper.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PaperSource ();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The following table shows initial property values for an instance of <see cref="T:System.Drawing.Printing.PaperSource" /> class.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property</para>
</term>
<description>
<para>Initial value</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Drawing.Printing.PaperSource.Kind" />
</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Custom" />
</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Drawing.Printing.PaperSource.SourceName" />
</para>
</term>
<description>
<para>
<see cref="F:System.String.Empty" />
</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Drawing.Printing.PaperSource" /> class. </para>
</summary>
</Docs>
</Member>
<Member MemberName="Kind">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PaperSourceKind Kind { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.PaperSourceKind</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'PaperSourceKind'</value>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the paper source.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="RawKind">
<MemberSignature Language="C#" Value="public int RawKind { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The following table shows integer value for each <see cref="T:System.Drawing.Printing.PaperSourceKind" /> member. Anything larger than 256 maps to <see cref="F:System.Drawing.Printing.PaperSourceKind.Custom" /> in the <see cref="T:System.Drawing.Printing.PaperSourceKind" /> enumeration, but the <see cref="P:System.Drawing.Printing.PaperSource.RawKind" /> property returns the actual integer value.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Integer value</para>
</term>
<description>
<para>PaperSourceKind member</para>
</description>
</item>
</listheader>
<item>
<term>
<para>1</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Upper" /> </para>
</description>
</item>
<item>
<term>
<para>2</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Lower" /> </para>
</description>
</item>
<item>
<term>
<para>3</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Middle" /> </para>
</description>
</item>
<item>
<term>
<para>4</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Manual" /> </para>
</description>
</item>
<item>
<term>
<para>5</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Envelope" /> </para>
</description>
</item>
<item>
<term>
<para>6</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.ManualFeed" /> </para>
</description>
</item>
<item>
<term>
<para>7</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.AutomaticFeed" /> </para>
</description>
</item>
<item>
<term>
<para>8</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.TractorFeed" /> </para>
</description>
</item>
<item>
<term>
<para>9</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.SmallFormat" /> </para>
</description>
</item>
<item>
<term>
<para>10</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.LargeFormat" /> </para>
</description>
</item>
<item>
<term>
<para>11</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.LargeCapacity" /> </para>
</description>
</item>
<item>
<term>
<para>14</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Cassette" /> </para>
</description>
</item>
<item>
<term>
<para>15</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.FormSource" /> </para>
</description>
</item>
<item>
<term>
<para>256 or larger</para>
</term>
<description>
<para>
<see cref="F:System.Drawing.Printing.PaperSourceKind.Custom" />
</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the integer representing one of the <see cref="T:System.Drawing.Printing.PaperSourceKind" /> values or a custom value.</para>
</summary>
</Docs>
</Member>
<Member MemberName="SourceName">
<MemberSignature Language="C#" Value="public string SourceName { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'string'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Call this property when the paper source needs to be displayed. The name of the paper source is generated based upon the <see cref="P:System.Drawing.Printing.PaperSource.Kind" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the name of the paper source.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides information about the <see cref="T:System.Drawing.Printing.PaperSource" /> in string form.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A string.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>