437 lines
18 KiB
XML
437 lines
18 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<Type Name="PrintDialog" FullName="System.Windows.Forms.PrintDialog">
|
|||
|
<TypeSignature Language="C#" Value="public sealed class PrintDialog : System.Windows.Forms.CommonDialog" />
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyName>System.Windows.Forms</AssemblyName>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Base>
|
|||
|
<BaseTypeName>System.Windows.Forms.CommonDialog</BaseTypeName>
|
|||
|
</Base>
|
|||
|
<Interfaces />
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultProperty("Document")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Designer("System.Windows.Forms.Design.PrintDialogDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<Docs>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>When you create an instance of <see cref="T:System.Windows.Forms.PrintDialog" />, the read/write properties are set to initial values. For a list of these values, see the <see cref="M:System.Windows.Forms.PrintDialog.#ctor" /> constructor. To get printer settings that are modified by the user with the <see cref="T:System.Windows.Forms.PrintDialog" />, use the <see cref="P:System.Windows.Forms.PrintDialog.PrinterSettings" /> property.</para>
|
|||
|
<para>For more information about printing with Windows Forms, see the <see cref="N:System.Drawing.Printing" /> namespace overview. If you want 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>Lets users select a printer and choose which sections of the document to print from a Windows Forms application.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<Members>
|
|||
|
<Member MemberName=".ctor">
|
|||
|
<MemberSignature Language="C#" Value="public PrintDialog ();" />
|
|||
|
<MemberType>Constructor</MemberType>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>When you create an instance of <see cref="T:System.Windows.Forms.PrintDialog" />, the following read/write properties are set to initial values.</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.Windows.Forms.PrintDialog.AllowSomePages" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>false </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.AllowPrintToFile" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>true </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.AllowSelection" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>false </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.Document" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>null </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.PrinterSettings" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>null </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.PrintToFile" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>false </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.ShowHelp" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>false </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<term>
|
|||
|
<para>
|
|||
|
<see cref="P:System.Windows.Forms.PrintDialog.ShowNetwork" /> </para>
|
|||
|
</term>
|
|||
|
<description>
|
|||
|
<para>true </para>
|
|||
|
</description>
|
|||
|
</item>
|
|||
|
</list>
|
|||
|
<para>You can change the value for any one of these properties through a separate call to the property.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.PrintDialog" /> class.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AllowCurrentPage">
|
|||
|
<MemberSignature Language="C#" Value="public bool AllowCurrentPage { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Docs>
|
|||
|
<value>To be added.</value>
|
|||
|
<since version=".NET 2.0" />
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>This property is valid for Windows 2000 and later versions of Windows operating systems. On operating systems earlier than Windows 2000, the <see cref="P:System.Windows.Forms.PrintDialog.AllowCurrentPage" /> property has no effect.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets a value indicating whether the <ui>Current Page</ui> option button is displayed.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AllowPrintToFile">
|
|||
|
<MemberSignature Language="C#" Value="public bool AllowPrintToFile { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</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 a value indicating whether the <ui>Print to file</ui> check box is enabled.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AllowSelection">
|
|||
|
<MemberSignature Language="C#" Value="public bool AllowSelection { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</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 a value indicating whether the <ui>Selection</ui> option button is enabled.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AllowSomePages">
|
|||
|
<MemberSignature Language="C#" Value="public bool AllowSomePages { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</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 a value indicating whether the <ui>Pages</ui> option button is enabled.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="Document">
|
|||
|
<MemberSignature Language="C#" Value="public System.Drawing.Printing.PrintDocument Document { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Drawing.Printing.PrintDocument</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 a value indicating the <see cref="T:System.Drawing.Printing.PrintDocument" /> used to obtain <see cref="T:System.Drawing.Printing.PrinterSettings" />.</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>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Drawing.Printing.PrinterSettings</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Docs>
|
|||
|
<value>To be added.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>The <see cref="P:System.Windows.Forms.PrintDialog.PrinterSettings" /> property must be set before you call <see cref="Overload:System.Windows.Forms.CommonDialog.ShowDialog" /> or an exception will occur.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets the printer settings the dialog box modifies.</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>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</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 a value indicating whether the <ui>Print to file</ui> check box is selected.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="Reset">
|
|||
|
<MemberSignature Language="C#" Value="public override void Reset ();" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Void</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<remarks>To be added.</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Resets all options, the last selected printer, and the page settings to their default values.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="RunDialog">
|
|||
|
<MemberSignature Language="C#" Value="protected override bool RunDialog (IntPtr hwndOwner);" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters>
|
|||
|
<Parameter Name="hwndOwner" Type="System.IntPtr" />
|
|||
|
</Parameters>
|
|||
|
<Docs>
|
|||
|
<param name="hwndOwner">To be added.</param>
|
|||
|
<summary>To be added.</summary>
|
|||
|
<returns>To be added.</returns>
|
|||
|
<remarks>To be added.</remarks>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="ShowHelp">
|
|||
|
<MemberSignature Language="C#" Value="public bool ShowHelp { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Docs>
|
|||
|
<value>To be added.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>This property was marked obsolete in Windows 2000 and does not affect this and later versions of Windows.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets a value indicating whether the <ui>Help</ui> button is displayed.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="ShowNetwork">
|
|||
|
<MemberSignature Language="C#" Value="public bool ShowNetwork { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Docs>
|
|||
|
<value>To be added.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>This property was marked obsolete in Windows 2000 and does not affect this and later versions of Windows.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets a value indicating whether the <ui>Network</ui> button is displayed.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="UseEXDialog">
|
|||
|
<MemberSignature Language="C#" Value="public bool UseEXDialog { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Boolean</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Docs>
|
|||
|
<value>To be added.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>When this property is set to true, <see cref="P:System.Windows.Forms.PrintDialog.ShowHelp" /> and <see cref="P:System.Windows.Forms.PrintDialog.ShowNetwork" /> will be ignored as these properties were made obsolete for Windows 2000 and later versions of Windows. </para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets a value indicating whether the dialog should be shown in the Windows XP style for systems running WinXpFamily or later.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
</Member>
|
|||
|
</Members>
|
|||
|
</Type>
|