j2quan
February 14th, 2007, 01:33 PM
I noticed that the rotate factor property (per page i assume) if available in the ActiveX version, but not the DLL version. Are there any plans to have a function export become available in the DLL version for this?
AmyLin
February 25th, 2007, 05:43 PM
the dll version has the rotate factor property ,too.
PDF pages can be displayed upright like it is, or, it can be rotated in both direction (clockwise or counter-clockwise), or it can be displayed upside-down. To achieve different rotation display, you just need to adjust the rotate parameter when you call FPDF_RenderPage function.
void FPDF_RenderPage(HDC dc, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int flags);
The rotate parameter can be 0, 1, 2, or 3. Use 0 for displaying not rotated, 1 for rotated (90 degrees) clockwise, 2 for upside-down, 3 for rotated (90 degrees) counter-clockwise.
The following example shows how you can rotate the page clockwise:
…
FPDF_RenderPage(hDC, pdf_page, 10, 10, size_x, size_y, 1, 0);
j2quan
February 28th, 2007, 11:14 AM
Sorry, my initial post was unclear. What I meant was that the PDF standard allows for certain tags to be written to the file. (ie. Rotate, MediaBox, etc..) So if you open a PDF file in a text editor you will see these tags for each page in the document, example:
/MediaBox [0 0 612 792]
/Rotate 0
What I need are function exports to retreive these values as they are important in rendering the document properly under some circumstances. Is this functionality actually available somewhere? or am I left to parse the entire PDF file and compile a list of tags and values?
housemen
July 9th, 2008, 08:37 AM
The Rotate Data operation allows you to rotate the data within the visualization by a specified number of degrees without affecting the rest of the data space (graphical objects and axes). Thanks
-----------------------------
real estate new london ct (http://www.callthehouseman.com) , real estate groton ct (http://www.callthehouseman.com) , real estate waterford ct (http://www.callthehouseman.com/home_search_waterford_ct.html)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.