Showing posts with label Print Dialog Control. Show all posts
Showing posts with label Print Dialog Control. Show all posts

Thursday, April 25, 2013

         इसका use Print Dialog box को display करने के लिए किया जाता है। यह सबसे important dialog control है क्योकि अधिकतर windows application documents को print करते है। अतः printing मे इसका use किया जाता है। यह dialog box printing के सभी option automatically provide करता है। इसमे printer, pages, print size, printtype etc. सभी को set किया जा सकता है। इसे use करने से पहले form मे place किया जाता है। या runtime मे इसे form पर add कर लिया जाता है। इसेshow करने के लिए ShowDialog method का use किया जाता है। इसके properties निम्न हैं।

image081

  • Name: इसका use control का name define किया जाता है। जो dialog को codes मे identify करता है।
  • AllowPrintToFile: इसके ture होने पर print to file check box enable हो जाता है।
  • AllowSelection: इसके property के ture होने पर pages select करने के लिए Radio buttons enable हो जाती हैं।
  • AllowSomePages: इसके ture होने पर user file मे से केवल कुछ pages को select करने भी print कर सकता है।
  • Documents: इसका use print किए जाने वाले document को set करने के लिए किया जाता है।
  • PrintToFile: इसके ture होने पर print To file checkbox checked भी रहेगा।
  • ShowHelp: इसके ture होने पर Print dialog box मे help button भी display होती है।
  • ShowNetwork: इसके True होने पर Network button display होती है। जिससे network मे लगे printer को भी access किया जा सकता है।

Contact us

Name

Email *

Message *