![]() |
|
|||||||
| SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||
|
|||
|
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); |
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
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 , real estate groton ct , real estate waterford ct |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|