1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942
|
<?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>
|