ConvertToA3
IPDFDocument4 :: General document management :: Common

See Also Example
Collapse All

This method converts a document with A4 pages to a document with A3 pages.

Syntax

HRESULT ConvertToA3 ()
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

After converting each A3 page, the new document will contain two A4 pages from the original document for each converted page.

Example

Opening an Existing PDF Document Containing A4 Pages and Transforming Pages to A3 Size

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.Open('doc_a4.pdf', '');
PDF.ConvertToA3 ;
PDF.SaveToFile('doc_a3.pdf', true);
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->Open("doc_a4.pdf", "");
PDF->ConvertToA3();
PDF->SaveToFile("doc_a3.pdf", true);
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.Open("doc_a4.pdf", "");
PDF.ConvertToA3();
PDF.SaveToFile("doc_a3.pdf", true);
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.Open "doc_a4.pdf", ""
PDF.ConvertToA3
PDF.SaveToFile "doc_a3.pdf", true
Set PDF = nothing

See Also

Reference