Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8359731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:14:31+00:00 2026-06-09T11:14:31+00:00

For creating PDF documents in iOS, in the official documentation ( http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GeneratingPDF/GeneratingPDF.html#//apple_ref/doc/uid/TP40010156-CH10-SW3 ), the

  • 0

For creating PDF documents in iOS, in the official documentation (http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GeneratingPDF/GeneratingPDF.html#//apple_ref/doc/uid/TP40010156-CH10-SW3), the default size is given as 612×792, which has a ratio of 1.29412.

// Create the PDF context using the default page size of 612 x 792.
UIGraphicsBeginPDFContextToFile(pdfFileName, CGRectZero, nil);
CFRange currentRange = CFRangeMake(0, 0);
NSInteger currentPage = 0;
BOOL done = NO;
do {
// Mark the beginning of a new page.
   UIGraphicsBeginPDFPageWithInfo(CGRectMake(0, 0, 612, 792), nil);

However, default size of an A4 paper of international standard IS0216 is 210x297mm, which has an aspect ratio of 1.41429. So, my questions are:
What is the unit of Apple’s standard?
Is this 612×792 dimension identical with A4?
Are the printing margins, etc., included?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:14:33+00:00Added an answer on June 9, 2026 at 11:14 am

    PDF and PostScript use “PostScript points” as a unit. A PostScript point is 1/72 inch. So the default page size is

    612 x 792 points = 8.5 x 11 inch = 215.9 mm x 279.4 mm
    

    This is the US Letter paper size.

    The bounds rectangle in UIGraphicsBeginPDFPageWithInfo() defines the so-called “media box” of the PDF page. The media box is the size of the medium on which the page should be printed and therefore includes the margins.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a PDF library for manipulating a PDF documents, (creating PDF, image convertinng
I use the Sphinx Python documentation generator . Creating PDF documents is very easy
We are creating PDF documents on the fly from the database using PDFsharp .
I'm using html2fpdf for creating PDF documents. Now once I have created that, I
I'm creating generator of pdf documents in Ruby on Rails with Prawn gem and
I am creating a pdf file in the latest version of the Prawn library
I am creating some PDF reports using iText in Java. According to the requirements,
I'm creating a PDF with iText version 2.1.0. I have to create a detail
i am using itextsharp and creating a PDF with images. currently the images i
I'm creating a dynamically generated PDF using FPDF. My PDF requires many exactly horizontal/vertical

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.