Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

436 lines
23 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="PageSettings" FullName="System.Drawing.Printing.PageSettings">
<TypeSignature Language="C#" Value="public class PageSettings : ICloneable" 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>
<Interface>
<InterfaceName>System.ICloneable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Drawing.Printing.PageSettings" /> class is used to specify settings that modify the way a page will be printed. Typically, you set default settings for all pages to be printed through the <see cref="P:System.Drawing.Printing.PrintDocument.DefaultPageSettings" /> property. To specify settings on a page-by-page basis, handle the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> or <see cref="E:System.Drawing.Printing.PrintDocument.QueryPageSettings" /> event and modify the <see cref="T:System.Drawing.Printing.PageSettings" /> argument included in the <see cref="T:System.Drawing.Printing.PrintPageEventArgs" /> or <see cref="T:System.Drawing.Printing.QueryPageSettingsEventArgs" />, respectively.</para>
<para>For more information about handling <see cref="T:System.Drawing.Printing.PrintDocument" /> events, see the <see cref="T:System.Drawing.Printing.PrintDocument" /> class overview. 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 settings that apply to a single, printed page.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PageSettings ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The default constructor initializes all fields to their default values.</para>
<para>Typically, you do not create an instance of <see cref="T:System.Drawing.Printing.PageSettings" />, but instead use the <see cref="P:System.Drawing.Printing.PrintDocument.DefaultPageSettings" /> to set settings for all pages.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Drawing.Printing.PageSettings" /> class using the default printer.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PageSettings (System.Drawing.Printing.PrinterSettings printerSettings);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="printerSettings" Type="System.Drawing.Printing.PrinterSettings" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Drawing.Printing.PageSettings.#ctor(System.Drawing.Printing.PrinterSettings)" /> constructor is similar to initializing a new instance of <see cref="T:System.Drawing.Printing.PageSettings" /> and setting the <see cref="P:System.Drawing.Printing.PageSettings.PrinterSettings" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Drawing.Printing.PageSettings" /> class using a specified printer.</para>
</summary>
<param name="printerSettings">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Printing.PrinterSettings" /> that describes the printer to use. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public System.Drawing.Rectangle Bounds { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Rectangle</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'Drawing.Rectangle'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Drawing.Printing.PageSettings.Bounds" /> property along with the <see cref="P:System.Drawing.Printing.PageSettings.Margins" /> property to calculate the printing area for the page.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the size of the page, taking into account the page orientation specified by the <see cref="P:System.Drawing.Printing.PageSettings.Landscape" /> property.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public object Clone ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a copy of this <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A copy of this object.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Color">
<MemberSignature Language="C#" Value="public bool Color { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'bool'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>You can use the <see cref="P:System.Drawing.Printing.PrinterSettings.SupportsColor" /> property to determine if the printer supports color printing. If the printer supports color, but you do not want to print in color, set the <see cref="P:System.Drawing.Printing.PageSettings.Color" /> property to false. The default will be true.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a value indicating whether the page should be printed in color.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CopyToHdevmode">
<MemberSignature Language="C#" Value="public void CopyToHdevmode (IntPtr hdevmode);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="hdevmode" Type="System.IntPtr" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Call the <see cref="M:System.Drawing.Printing.PageSettings.CopyToHdevmode(System.IntPtr)" /> method to copy relevant information to a DEVMODE structure from a <see cref="T:System.Drawing.Printing.PageSettings" />. This method is useful when you want to make unmanaged Win32 calls that require a DEVMODE.</para>
<para>To copy information from a DEVMODE structure to the <see cref="T:System.Drawing.Printing.PageSettings" />, call <see cref="M:System.Drawing.Printing.PageSettings.SetHdevmode(System.IntPtr)" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Copies the relevant information from the <see cref="T:System.Drawing.Printing.PageSettings" /> to the specified DEVMODE structure.</para>
</summary>
<param name="hdevmode">
<attribution license="cc4" from="Microsoft" modified="false" />The handle to a Win32 DEVMODE structure. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="HardMarginX">
<MemberSignature Language="C#" Value="public float HardMarginX { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The hard margin represents the physical margin set by the printer.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.</para>
</summary>
</Docs>
</Member>
<Member MemberName="HardMarginY">
<MemberSignature Language="C#" Value="public float HardMarginY { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The hard margin represents the physical margin set by the printer.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Landscape">
<MemberSignature Language="C#" Value="public bool Landscape { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'bool'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>You can use the <see cref="P:System.Drawing.Printing.PrinterSettings.LandscapeAngle" /> property to determine the angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Margins">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.Margins Margins { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.Margins</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'Margins'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When handling the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> event, you can use this property along with the <see cref="P:System.Drawing.Printing.PageSettings.Bounds" /> property to calculate the printing area for the page.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the margins for this page.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PaperSize">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PaperSize PaperSize { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.PaperSize</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'PaperSize'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Drawing.Printing.PaperSize" /> represents the size of the paper through the <see cref="P:System.Drawing.Printing.PaperSize.Kind" /> property, which contains one of the <see cref="T:System.Drawing.Printing.PaperKind" /> values.</para>
<para>Set the <see cref="P:System.Drawing.Printing.PageSettings.PaperSize" /> property for the page to a valid <see cref="T:System.Drawing.Printing.PaperSize" />, available through the <see cref="P:System.Drawing.Printing.PrinterSettings.PaperSizes" /> collection.</para>
<para>For information about how you can specify a custom paper size, see the <see cref="M:System.Drawing.Printing.PaperSize.#ctor" /> constructor.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the paper size for the page.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PaperSource">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PaperSource PaperSource { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.PaperSource</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'PaperSource'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Drawing.Printing.PaperSource" /> represents the source of the paper through the <see cref="P:System.Drawing.Printing.PaperSource.Kind" /> property, which contains one of the <see cref="T:System.Drawing.Printing.PaperSourceKind" /> values.</para>
<para>Set the <see cref="P:System.Drawing.Printing.PageSettings.PaperSource" /> property for the page to a valid <see cref="T:System.Drawing.Printing.PaperSource" />, available through the <see cref="P:System.Drawing.Printing.PrinterSettings.PaperSources" /> collection.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the page's paper source; for example, the printer's upper tray.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PrintableArea">
<MemberSignature Language="C#" Value="public System.Drawing.RectangleF PrintableArea { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.RectangleF</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Drawing.Printing.PageSettings.PrintableArea" /> property returns the correct value, whether the page orientation is landscape or portrait.</para>
<para>You can use this property to print outside the margins of the page, but within the printable area.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the bounds of the printable area of the page for the printer.</para>
</summary>
</Docs>
</Member>
<Member MemberName="PrinterResolution">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrinterResolution PrinterResolution { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.PrinterResolution</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'PrinterResolution'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Drawing.Printing.PrinterResolution" /> represents the printer resolution of through the <see cref="P:System.Drawing.Printing.PrinterResolution.Kind" /> property, which contains one of the <see cref="T:System.Drawing.Printing.PrinterResolutionKind" /> values.</para>
<para>Set the <see cref="P:System.Drawing.Printing.PageSettings.PrinterResolution" /> property for the page to a valid <see cref="T:System.Drawing.Printing.PrinterResolution" />, available through the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterResolutions" /> collection.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the printer resolution for the page.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PrinterSettings">
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrinterSettings PrinterSettings { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Drawing.Printing.PrinterSettings</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'PrinterSettings'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>You can use the printer settings to find default values for properties of the page that are not set.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the printer settings associated with the page.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SetHdevmode">
<MemberSignature Language="C#" Value="public void SetHdevmode (IntPtr hdevmode);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="hdevmode" Type="System.IntPtr" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this method to copy relevant information in a DEVMODE structure to the <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
<para>To copy information from the <see cref="T:System.Drawing.Printing.PageSettings" /> to a DEVMODE, call <see cref="M:System.Drawing.Printing.PageSettings.CopyToHdevmode(System.IntPtr)" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Copies relevant information to the <see cref="T:System.Drawing.Printing.PageSettings" /> from the specified DEVMODE structure.</para>
</summary>
<param name="hdevmode">
<attribution license="cc4" from="Microsoft" modified="false" />The handle to a Win32 DEVMODE structure. </param>
</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>Converts the <see cref="T:System.Drawing.Printing.PageSettings" /> to string form.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A string showing the various property settings for the <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>