What is the size of A4 in windows form.

Posted on 2012-08-28
Last Modified: 2012-09-15
I have to generate the mulitple ID Cards, on windows form. That i want to print 6 id cards on form, assuming that a4 size should be there for windows form.
I m done with borderless form, now that form size should be of A4.
Wat should be the height and width of form. as form is taking maximum height as 780 maximum.

Please reply if someone has experimented this thing.
Question by:searchsanjaysharma
    LVL 39

    Accepted Solution

    what are you trying to do?
    have you tried using PrintPreviewControl and PrintDocument controls?
    check this PrintDocument sample for a start.

    Author Comment

    I want to change the height and width of windows form to A4
    LVL 39

    Assisted Solution

    instead of using and changing the form size, can you  use PrintDocument class and there you can set the paper size to A4. to show the preview use PrintPreview control.

    Author Comment

    Let me try

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now