From 3f3f5130e91c9a868831ee80840f027111ee6f3b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 31 Jan 2018 14:53:02 +0000 Subject: Clean up FPDFPage_New() documentation. Change-Id: I3ee754c2875b6ea28750803dbd8e4d9fe6dd1d41 Reviewed-on: https://pdfium-review.googlesource.com/24570 Commit-Queue: dsinclair Reviewed-by: dsinclair --- public/fpdf_edit.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 685fbdd029..54735a3bde 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -97,15 +97,15 @@ FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument(); // Create a new PDF page. // // document - handle to document. -// page_index - suggested index of the page to create. If it is larger than -// document's current last index(L), the created page index is -// the next available index -- L+1. -// width - the page width. -// height - the page height. +// page_index - suggested 0-based index of the page to create. If it is larger +// than document's current last index(L), the created page index +// is the next available index -- L+1. +// width - the page width in points. +// height - the page height in points. // -// Returns the handle to the new page. +// Returns the handle to the new page or NULL on failure. // -// The page should be closed with CPDF_ClosePage() when finished as +// The page should be closed with FPDF_ClosePage() when finished as // with any other page in the document. FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New(FPDF_DOCUMENT document, int page_index, -- cgit v1.2.3