12.07.2015 Views

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PDF</strong> <strong>Library</strong>-specific MethodsPDPageDrawContentsToMemoryupdateRectsmoothFlagscsA<strong>to</strong>mbpcdestRectbufferbufferSizecancelProccancelProcDataPointer <strong>to</strong> <strong>the</strong> rectangle <strong>to</strong> draw, defined in user spacecoordinates. Any objects outside of updateRect will not bedrawn. All objects are drawn if updateRect is NULL.A bit field of PDPageDrawSmoothFlags. Must be an OR of<strong>the</strong> following flags:● kPDPageDrawSmoothText● kPDPageDrawSmoothLineArt● kPDPageDrawSmoothImageThe color space in which <strong>the</strong> bitmap data is represented. Itmust be one of DeviceGray, DeviceRGB, orDeviceCMYK.The number of bits per color component in <strong>the</strong> bitmap data.8 is <strong>the</strong> only valid value for DeviceCMYK and DeviceRGBcolor space.1, 8, and 24 are valid for DeviceGray.Pointer <strong>to</strong> <strong>the</strong> rectangle of <strong>the</strong> bitmap. Defined in devicespace coordinates.Pointer <strong>to</strong> <strong>the</strong> bitmap data. If NULL, this function returns <strong>the</strong>size of buffer needed for <strong>the</strong> bitmap.The size of <strong>the</strong> buffer.A method <strong>to</strong> call <strong>to</strong> check whe<strong>the</strong>r drawing should becanceled. If <strong>the</strong> method returns true, drawing is s<strong>to</strong>pped;nothing is erased, and <strong>the</strong> buffer contains whatever wasdrawn up <strong>to</strong> <strong>the</strong> current state.User-supplied data <strong>to</strong> pass <strong>to</strong> CancelProc each time it iscalled.Return ValueThe size of <strong>the</strong> bitmap in bytes.Header File<strong>PDF</strong>LCalls.hRelated MethodsPDPageDrawContentsPlacedWithParams<strong>PDF</strong> <strong>Library</strong> <strong>Supplement</strong> <strong>to</strong> <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong> 35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!