a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
942 lines
56 KiB
XML
942 lines
56 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="PrinterSettings" FullName="System.Drawing.Printing.PrinterSettings">
|
|
<TypeSignature Language="C#" Value="public class PrinterSettings : 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 <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> 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>Typically, you access a <see cref="T:System.Drawing.Printing.PrinterSettings" /> through <see cref="P:System.Drawing.Printing.PrintDocument.PrinterSettings" /> or <see cref="P:System.Drawing.Printing.PageSettings.PrinterSettings" /> properties to modify printer settings. The most common printer setting is <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" />, which specifies the printer to print to.</para>
|
|
<para>For more information about printing with Windows Forms, see the <see cref="N:System.Drawing.Printing" /> namespace overview. If you wish to print from a Windows Presentation Foundation application, see the <see cref="N:System.Printing" /> namespace.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Specifies information about how a document is printed, including the printer that prints it, when printing from a Windows Forms application.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public PrinterSettings ();" />
|
|
<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.PrinterSettings" />, but instead use the <see cref="P:System.Drawing.Printing.PrintDocument.PrinterSettings" /> to set settings for the printer.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Initializes a new instance of the <see cref="T:System.Drawing.Printing.PrinterSettings" /> class.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="CanDuplex">
|
|
<MemberSignature Language="C#" Value="public bool CanDuplex { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'bool'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>To print using duplex, and if the printer supports it, set <see cref="P:System.Drawing.Printing.PrinterSettings.Duplex" /> to one of the <see cref="T:System.Drawing.Printing.Duplex" /> values.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether the printer supports double-sided printing.</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.PrinterSettings" />.</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="Collate">
|
|
<MemberSignature Language="C#" Value="public bool Collate { 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>Collating is performed only when the number of copies is greater than 1. Set the <see cref="P:System.Drawing.Printing.PrinterSettings.Copies" /> property to specify the number of copies to print.</para>
|
|
<para>Setting <see cref="P:System.Drawing.Printing.PrinterSettings.Collate" /> to true will print a complete copy of the document before the first page of the next copy is printed. false will print each page by the number of copies specified before printing the next page.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets a value indicating whether the printed document is collated.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Copies">
|
|
<MemberSignature Language="C#" Value="public short Copies { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int16</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'short'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Not all printers support printing multiple copes. You can use the <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumCopies" /> property to determine the maximum number of copies the printer supports. If the number of copies is set higher than the maximum copies supported by the printer, only the maximum number of copies will be printed, and no exception will occur.</para>
|
|
<block subset="none" type="note">
|
|
<para>Some printers might not support printing more than one copy at a time.</para>
|
|
</block>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the number of copies of the document to print.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="CreateMeasurementGraphics">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Graphics CreateMeasurementGraphics ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Graphics</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>With the <see cref="M:System.Drawing.Printing.PrinterSettings.CreateMeasurementGraphics" /> method, you can obtain a <see cref="T:System.Drawing.Graphics" /> for the printer without creating a print job. You can use the <see cref="T:System.Drawing.Graphics" /> to make decisions on how to layout visual elements like fonts, sizes, and type styles of a complex print job.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns a <see cref="T:System.Drawing.Graphics" /> that contains printer information that is useful when creating a <see cref="T:System.Drawing.Printing.PrintDocument" />. </para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Graphics" /> that contains information from a printer.</para>
|
|
</returns>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="CreateMeasurementGraphics">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Graphics CreateMeasurementGraphics (bool honorOriginAtMargins);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Graphics</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="honorOriginAtMargins" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>With the <see cref="M:System.Drawing.Printing.PrinterSettings.CreateMeasurementGraphics" /> method, you can obtain a <see cref="T:System.Drawing.Graphics" /> for the printer without creating a print job. Use the <see cref="T:System.Drawing.Graphics" /> to make decisions on how to layout visual elements like fonts, sizes, and type styles of a complex print job.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns a <see cref="T:System.Drawing.Graphics" /> that contains printer information, optionally specifying the origin at the margins.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Graphics" /> that contains printer information from the <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
|
|
</returns>
|
|
<param name="honorOriginAtMargins">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />true to indicate the origin at the margins; otherwise, false. </param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="CreateMeasurementGraphics">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Graphics CreateMeasurementGraphics (System.Drawing.Printing.PageSettings pageSettings);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Graphics</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="pageSettings" Type="System.Drawing.Printing.PageSettings" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>With the <see cref="M:System.Drawing.Printing.PrinterSettings.CreateMeasurementGraphics" /> method, you can obtain a <see cref="T:System.Drawing.Graphics" /> for the printer without creating a print job. Use the <see cref="T:System.Drawing.Graphics" /> to make decisions on how to layout visual elements like fonts, sizes, and type styles of a complex print job.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns a <see cref="T:System.Drawing.Graphics" /> that contains printer information associated with the specified <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Graphics" /> that contains printer information from the <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
|
|
</returns>
|
|
<param name="pageSettings">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Printing.PageSettings" /> to retrieve a graphics object for.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="CreateMeasurementGraphics">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Graphics CreateMeasurementGraphics (System.Drawing.Printing.PageSettings pageSettings, bool honorOriginAtMargins);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Graphics</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="pageSettings" Type="System.Drawing.Printing.PageSettings" />
|
|
<Parameter Name="honorOriginAtMargins" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="M:System.Drawing.Printing.PrinterSettings.CreateMeasurementGraphics" /> method allows you to obtain a <see cref="T:System.Drawing.Graphics" /> for the printer without creating a print job. Use the <see cref="T:System.Drawing.Graphics" /> to make decisions on how to layout visual elements like fonts, sizes, and type styles of a complex print job.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Creates a <see cref="T:System.Drawing.Graphics" /> associated with the specified page settings and optionally specifying the origin at the margins.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Graphics" /> that contains printer information from the <see cref="T:System.Drawing.Printing.PageSettings" />.</para>
|
|
</returns>
|
|
<param name="pageSettings">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Printing.PageSettings" /> to retrieve a <see cref="T:System.Drawing.Graphics" /> object for.</param>
|
|
<param name="honorOriginAtMargins">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />true to specify the origin at the margins; otherwise, false. </param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DefaultPageSettings">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PageSettings DefaultPageSettings { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PageSettings</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PageSettings'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Page settings include the size of the margins on the page, the size of paper to use, and whether to print in color. For more information about page settings, see the <see cref="T:System.Drawing.Printing.PageSettings" /> class.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the default page settings for this printer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Duplex">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.Duplex Duplex { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.Duplex</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'Duplex'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>You can use the <see cref="P:System.Drawing.Printing.PrinterSettings.CanDuplex" /> property to check to see if the printer supports duplex printing.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the printer setting for double-sided printing.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="FromPage">
|
|
<MemberSignature Language="C#" Value="public int FromPage { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties are used by the <see cref="T:System.Windows.Forms.PrintDialog" /> when the user selects a print range. The <see cref="P:System.Windows.Forms.PrintDialog.AllowSomePages" /> property must be set to true to enable the user to specify a print range. In addition, the <see cref="T:System.Windows.Forms.PrintDialog" /> requires the <see cref="P:System.Drawing.Printing.PrinterSettings.MinimumPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumPage" /> to be specified and the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> value to be within that range.</para>
|
|
<para>During the printing process, in the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> event, view the <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> to determine what should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.SomePages" />, use the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties to determine what pages should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.Selection" />, then specify output only for the selected pages.</para>
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" />, <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> can also be set programmatically, though the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> implementation is the same.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the page number of the first page to print.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="GetHdevmode">
|
|
<MemberSignature Language="C#" Value="public IntPtr GetHdevmode ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.IntPtr</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>DEVMODE structures are device specific. Copying a DEVMODE structure from one <see cref="T:System.Drawing.Printing.PrinterSettings" /> to a <see cref="T:System.Drawing.Printing.PrinterSettings" /> for a different printer is not supported. When you are done with the handle that is created through this method, you must deallocate it yourself by calling the native Win32 GlobalFree method. When you call this method, you pass as a parameter the return value from the <see cref="M:System.Drawing.Printing.PrinterSettings.GetHdevmode" /> method.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Creates a handle to a DEVMODE structure that corresponds to the printer settings.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A handle to a DEVMODE structure.</para>
|
|
</returns>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="GetHdevmode">
|
|
<MemberSignature Language="C#" Value="public IntPtr GetHdevmode (System.Drawing.Printing.PageSettings pageSettings);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.IntPtr</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="pageSettings" Type="System.Drawing.Printing.PageSettings" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>DEVMODE structures are device specific. Copying a DEVMODE structure from one <see cref="T:System.Drawing.Printing.PrinterSettings" /> to a <see cref="T:System.Drawing.Printing.PrinterSettings" /> for a different printer is not supported.</para>
|
|
<para>When you are done with the handle that is created through this method, you must deallocate it yourself by calling the native Win32 GlobalFree method. When you call this method, you pass as a parameter the return value from the <see cref="M:System.Drawing.Printing.PrinterSettings.GetHdevmode" /> method.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Creates a handle to a DEVMODE structure that corresponds to the printer and the page settings specified through the <paramref name="pageSettings" /> parameter.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A handle to a DEVMODE structure.</para>
|
|
</returns>
|
|
<param name="pageSettings">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Printing.PageSettings" /> object that the DEVMODE structure's handle corresponds to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="GetHdevnames">
|
|
<MemberSignature Language="C#" Value="public IntPtr GetHdevnames ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.IntPtr</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>When you are done with the handle that is created through this method, you must deallocate it yourself by calling the native Win32 GlobalFree method. When you call this method, you pass as a parameter the return value from the <see cref="M:System.Drawing.Printing.PrinterSettings.GetHdevnames" /> method.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Creates a handle to a DEVNAMES structure that corresponds to the printer settings.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A handle to a DEVNAMES structure.</para>
|
|
</returns>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="InstalledPrinters">
|
|
<MemberSignature Language="C#" Value="public static System.Drawing.Printing.PrinterSettings.StringCollection InstalledPrinters { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PrinterSettings+StringCollection</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PrinterSettings+StringCollection'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>You can use the collection of installed printer names to provide the user a choice of printers to print to.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the names of all printers installed on the computer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="IsDefaultPrinter">
|
|
<MemberSignature Language="C#" Value="public bool IsDefaultPrinter { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'bool'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>
|
|
<see cref="P:System.Drawing.Printing.PrinterSettings.IsDefaultPrinter" /> always returns false when you explicitly set the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" /> property to a string value other than null.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" /> property designates the default printer, except when the user explicitly sets <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" />.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="IsDirectPrintingSupported">
|
|
<MemberSignature Language="C#" Value="public bool IsDirectPrintingSupported (System.Drawing.Image image);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="image" Type="System.Drawing.Image" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>To be added.</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether the printer supports printing the specified image file.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>true if the printer supports printing the specified image; otherwise, false.</para>
|
|
</returns>
|
|
<param name="image">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The image to print.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsDirectPrintingSupported">
|
|
<MemberSignature Language="C#" Value="public bool IsDirectPrintingSupported (System.Drawing.Imaging.ImageFormat imageFormat);" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="imageFormat" Type="System.Drawing.Imaging.ImageFormat" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>To be added.</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Returns a value indicating whether the printer supports printing the specified image format.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>true if the printer supports printing the specified image format; otherwise, false.</para>
|
|
</returns>
|
|
<param name="imageFormat">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Imaging.ImageFormat" /> to print.</param>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IsPlotter">
|
|
<MemberSignature Language="C#" Value="public bool IsPlotter { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'bool'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A plotter is a printer that is vector-based as opposed to raster-based. Most vector-based printers use individual plotting pens to produce output.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether the printer is a plotter.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="IsValid">
|
|
<MemberSignature Language="C#" Value="public bool IsValid { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'bool'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>When you get or set some properties, a valid printer is required or else an exception is raised. To avoid exceptions, use the <see cref="P:System.Drawing.Printing.PrinterSettings.IsValid" /> property after setting the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" /> to safely determine if the printer is valid.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterName" /> property designates a valid printer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="LandscapeAngle">
|
|
<MemberSignature Language="C#" Value="public int LandscapeAngle { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Valid rotation values are 90 and 270 degrees. If landscape is not supported, the only valid rotation value is 0 degrees. You set the <see cref="P:System.Drawing.Printing.PageSettings.Landscape" /> property to true to print a page in landscape format.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the angle, in degrees, that the portrait orientation is rotated to produce the landscape orientation.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="MaximumCopies">
|
|
<MemberSignature Language="C#" Value="public int MaximumCopies { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Set the <see cref="P:System.Drawing.Printing.PrinterSettings.Copies" /> property to the number of copies to print. Use the <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumCopies" /> property to determine if your printer supports printing multiple copies at a time, because some printers do not.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the maximum number of copies that the printer enables the user to print at a time.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="MaximumPage">
|
|
<MemberSignature Language="C#" Value="public int MaximumPage { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties are used by the <see cref="T:System.Windows.Forms.PrintDialog" /> when the user selects a print range. The <see cref="P:System.Windows.Forms.PrintDialog.AllowSomePages" /> property must be set to true to enable the user to specify a print range. When setting the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> or <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> values programmatically, ensure that they are within the range defined by the <see cref="P:System.Drawing.Printing.PrinterSettings.MinimumPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumPage" /> properties, or an exception is thrown when displaying the <see cref="T:System.Windows.Forms.PrintDialog" />.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the maximum <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> or <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> that can be selected in a <see cref="T:System.Windows.Forms.PrintDialog" />.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="MinimumPage">
|
|
<MemberSignature Language="C#" Value="public int MinimumPage { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties are used by the <see cref="T:System.Windows.Forms.PrintDialog" /> when the user selects a print range. The <see cref="P:System.Windows.Forms.PrintDialog.AllowSomePages" /> property must be set to true to enable the user to specify a print range. When setting the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> or <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> values programmatically, ensure that they are within the range defined by the <see cref="P:System.Drawing.Printing.PrinterSettings.MinimumPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumPage" /> properties, or an exception is thrown when displaying the <see cref="T:System.Windows.Forms.PrintDialog" />.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the minimum <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> or <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> that can be selected in a <see cref="T:System.Windows.Forms.PrintDialog" />.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PaperSizes">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrinterSettings.PaperSizeCollection PaperSizes { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PrinterSettings+PaperSizeCollection</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PrinterSettings+PaperSizeCollection'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Drawing.Printing.PrinterSettings.PaperSizeCollection" /> contains <see cref="T:System.Drawing.Printing.PaperSize" /> instances that represent the paper sizes 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>Typically, you set a page's paper size through the <see cref="P:System.Drawing.Printing.PageSettings.PaperSize" /> property to a valid <see cref="T:System.Drawing.Printing.PaperSize" /> available through the <see cref="P:System.Drawing.Printing.PrinterSettings.PaperSizes" /> collection.</para>
|
|
<para>To 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 the paper sizes that are supported by this printer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PaperSources">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrinterSettings.PaperSourceCollection PaperSources { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PrinterSettings+PaperSourceCollection</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PrinterSettings+PaperSourceCollection'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Drawing.Printing.PrinterSettings.PaperSourceCollection" /> contains <see cref="T:System.Drawing.Printing.PaperSource" /> instances that represent the paper source trays 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>Typically, you set a page's paper source through the <see cref="P:System.Drawing.Printing.PageSettings.PaperSource" /> property 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 the paper source trays that are available on the printer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PrinterName">
|
|
<MemberSignature Language="C#" Value="public string PrinterName { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'string'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>After setting the printer name, call <see cref="P:System.Drawing.Printing.PrinterSettings.IsValid" /> to determine if the printer name is recognized as a valid printer on the system.</para>
|
|
<para>You can also use the <see cref="P:System.Drawing.Printing.PrinterSettings.InstalledPrinters" /> property to get a list of printers installed on the system.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the name of the printer to use.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PrinterResolutions">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrinterSettings.PrinterResolutionCollection PrinterResolutions { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PrinterSettings+PrinterResolutionCollection</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PrinterSettings+PrinterResolutionCollection'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Drawing.Printing.PrinterSettings.PrinterResolutionCollection" /> contains <see cref="T:System.Drawing.Printing.PrinterResolution" /> instances that represent the printer resolutions supported 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>Typically, you set a page's paper source through the <see cref="P:System.Drawing.Printing.PageSettings.PrinterResolution" /> property to a valid <see cref="T:System.Drawing.Printing.PrinterResolution" /> available through the <see cref="P:System.Drawing.Printing.PrinterSettings.PrinterResolutions" /> collection.</para>
|
|
<para>If <see cref="T:System.Drawing.Printing.PrinterResolutionKind" /> is Custom, then use the <see cref="P:System.Drawing.Printing.PrinterResolution.X" /> and <see cref="P:System.Drawing.Printing.PrinterResolution.Y" /> properties to determine the custom printer resolution in the horizontal and vertical directions, respectively.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets all the resolutions that are supported by this printer.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PrintFileName">
|
|
<MemberSignature Language="C#" Value="public string PrintFileName { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the file name, when printing to a file.</para>
|
|
</summary>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="PrintRange">
|
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrintRange PrintRange { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.PrintRange</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'PrintRange'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> property is used by the <see cref="T:System.Windows.Forms.PrintDialog" />.when the user selects a print range. The default <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is AllPages. To enable the user to specify a range of pages to print, the <see cref="P:System.Windows.Forms.PrintDialog.AllowSomePages" /> property must be set to true. To enable the user to specify the selected pages to print, the <see cref="P:System.Windows.Forms.PrintDialog.AllowSelection" /> property must be set to true.</para>
|
|
<para>During the printing process, in the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> event, view the <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> to determine what should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.SomePages" />, use the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties to determine what pages should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.Selection" />, then specify output only for the selected pages.</para>
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" />, <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> can also be set programmatically, though the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> implementation is the same.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the page numbers that the user has specified to be printed.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="PrintToFile">
|
|
<MemberSignature Language="C#" Value="public bool PrintToFile { 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>The <see cref="P:System.Drawing.Printing.PrinterSettings.PrintToFile" /> property is used by the <see cref="T:System.Windows.Forms.PrintDialog" /> when the user selects the <ui>Print to file</ui> option. In such a case, the output port is set to "FILE," causing the Windows printing subsystem to prompt the user for a file name when the <see cref="M:System.Drawing.Printing.PrintDocument.Print" /> method is called.</para>
|
|
<block subset="none" type="note">
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.PrintToFile" /> property is only used by the <see cref="T:System.Windows.Forms.PrintDialog" /> and cannot be set programmatically. The Print to file option only appears on the <see cref="T:System.Windows.Forms.PrintDialog" /> when the <see cref="P:System.Windows.Forms.PrintDialog.AllowPrintToFile" /> property is set to true.</para>
|
|
</block>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets a value indicating whether the printing output is sent to a file instead of a port.</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>DEVMODE structures are device specific and copying a DEVMODE structure from one <see cref="T:System.Drawing.Printing.PrinterSettings" /> to a <see cref="T:System.Drawing.Printing.PrinterSettings" /> for a different printer is not supported.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Copies the relevant information out of the given handle and into the <see cref="T:System.Drawing.Printing.PrinterSettings" />.</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="SetHdevnames">
|
|
<MemberSignature Language="C#" Value="public void SetHdevnames (IntPtr hdevnames);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="hdevnames" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>To be added</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Copies the relevant information out of the given handle and into the <see cref="T:System.Drawing.Printing.PrinterSettings" />.</para>
|
|
</summary>
|
|
<param name="hdevnames">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The handle to a Win32 DEVNAMES structure. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="SupportsColor">
|
|
<MemberSignature Language="C#" Value="public bool SupportsColor { get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<value>To be added: an object of type 'bool'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>To print using color, and if the printer supports it, set <see cref="P:System.Drawing.Printing.PageSettings.Color" /> to true.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets a value indicating whether this printer supports color printing.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="ToPage">
|
|
<MemberSignature Language="C#" Value="public int ToPage { set; get; }" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<value>To be added: an object of type 'int'</value>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties are used by the <see cref="T:System.Windows.Forms.PrintDialog" /> when the user selects a print range. The <see cref="P:System.Windows.Forms.PrintDialog.AllowSomePages" /> property must be set to true to enable the user to specify a print range. In addition, the <see cref="T:System.Windows.Forms.PrintDialog" /> also requires the <see cref="P:System.Drawing.Printing.PrinterSettings.MinimumPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.MaximumPage" /> to be specified and the <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> value to be within that range.</para>
|
|
<para>During the printing process, in the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> event, view the <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> to determine what should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.SomePages" />, use the <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> properties to determine what pages should be printed. If <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> is <see cref="F:System.Drawing.Printing.PrintRange.Selection" />, then specify output only for the selected pages.</para>
|
|
<para>The <see cref="P:System.Drawing.Printing.PrinterSettings.FromPage" />, <see cref="P:System.Drawing.Printing.PrinterSettings.ToPage" /> and <see cref="P:System.Drawing.Printing.PrinterSettings.PrintRange" /> can also be set programmatically, though the <see cref="E:System.Drawing.Printing.PrintDocument.PrintPage" /> implementation is the same.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the number of the last page to print.</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.PrinterSettings" /> 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> |