Pdftools SDK
|
Go to the source code of this file.
Macros | |
#define | PDFTOOLS_CALL |
#define PDFTOOLS_CALL |
PDFTOOLS_EXPORT TPdfToolsPdf2Image_AnnotationOptions PDFTOOLS_CALL PdfToolsPdf2Image_ContentOptions_GetAnnotations | ( | TPdfToolsPdf2Image_ContentOptions * | pContentOptions | ) |
The render strategy for annotations.
Defines whether to render annotation popups. For details, see TPdfToolsPdf2Image_AnnotationOptions.
Default: ePdfToolsPdf2Image_AnnotationOptions_ShowAnnotations
[in,out] | pContentOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_ContentOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_ContentOptions_SetAnnotations | ( | TPdfToolsPdf2Image_ContentOptions * | pContentOptions, |
TPdfToolsPdf2Image_AnnotationOptions | iAnnotations ) |
The render strategy for annotations.
Defines whether to render annotation popups. For details, see TPdfToolsPdf2Image_AnnotationOptions.
Default: ePdfToolsPdf2Image_AnnotationOptions_ShowAnnotations
[in,out] | pContentOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_ContentOptions. |
[in] | iAnnotations | Set value. |
PDFTOOLS_EXPORT TPdfToolsImage_MultiPageDocument *PDFTOOLS_CALL PdfToolsPdf2Image_Converter_ConvertDocument | ( | TPdfToolsPdf2Image_Converter * | pConverter, |
TPdfToolsPdf_Document * | pInDoc, | ||
const TPdfToolsSys_StreamDescriptor * | pOutStreamDesc, | ||
TPdfToolsPdf2ImageProfiles_Profile * | pProfile ) |
Convert all pages of a PDF document to a rasterized image.
[in,out] | pConverter | Acts as a handle to the native object of type TPdfToolsPdf2Image_Converter. |
[in,out] | pInDoc | The input PDF document |
[in,out] | pOutStreamDesc | The stream to which the rasterized image is written. |
[in,out] | pProfile | The profile defines how the PDF pages are rendered and what type of output image is used. Note that the profile's image options must support multi-page images (TIFF). For other profiles, the method PdfToolsPdf2Image_Converter_ConvertPage should be used. For details, see TPdfToolsPdf2ImageProfiles_Profile. |
Note that, this object must be disposed before the output stream object (method argument pOutStreamDesc).
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:PDFTOOLS_EXPORT TPdfToolsImage_Document *PDFTOOLS_CALL PdfToolsPdf2Image_Converter_ConvertPage | ( | TPdfToolsPdf2Image_Converter * | pConverter, |
TPdfToolsPdf_Document * | pInDoc, | ||
const TPdfToolsSys_StreamDescriptor * | pOutStreamDesc, | ||
TPdfToolsPdf2ImageProfiles_Profile * | pProfile, | ||
int | iPageNumber ) |
Convert a single page of a PDF document to a rasterized image.
[in,out] | pConverter | Acts as a handle to the native object of type TPdfToolsPdf2Image_Converter. |
[in,out] | pInDoc | The input PDF document |
[in,out] | pOutStreamDesc | The stream to which the rasterized image is written. |
[in,out] | pProfile | The profile defines how the PDF page is rendered and what type of output image is used. For details, see TPdfToolsPdf2ImageProfiles_Profile. |
[in] | iPageNumber | The PDF page number to be converted. The number must be in the range of 1 (first page) to PdfToolsPdf_Document_GetPageCount (last page). |
Note that, this object must be disposed before the output stream object (method argument pOutStreamDesc).
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:PDFTOOLS_EXPORT TPdfToolsPdf2Image_Converter *PDFTOOLS_CALL PdfToolsPdf2Image_Converter_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT TPdfToolsPdf2Image_TiffBitonalCompressionType PDFTOOLS_CALL PdfToolsPdf2Image_FaxImageOptions_GetCompression | ( | TPdfToolsPdf2Image_FaxImageOptions * | pFaxImageOptions | ) |
The Fax compression algorithm.
This property allows a choice of which compression type to use. For details, see TPdfToolsPdf2Image_TiffBitonalCompressionType.
Default: ePdfToolsPdf2Image_TiffBitonalCompressionType_G3
[in,out] | pFaxImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_FaxImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT TPdfToolsPdf2Image_FaxVerticalResolution PDFTOOLS_CALL PdfToolsPdf2Image_FaxImageOptions_GetVerticalResolution | ( | TPdfToolsPdf2Image_FaxImageOptions * | pFaxImageOptions | ) |
The vertical image resolution.
This property allows a choice of which vertical resolution to use. For details, see TPdfToolsPdf2Image_FaxVerticalResolution.
Note that the horizontal resolution is fixed at 204 DPI by the Fax standard.
Default: ePdfToolsPdf2Image_FaxVerticalResolution_Standard
[in,out] | pFaxImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_FaxImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_FaxImageOptions_SetCompression | ( | TPdfToolsPdf2Image_FaxImageOptions * | pFaxImageOptions, |
TPdfToolsPdf2Image_TiffBitonalCompressionType | iCompression ) |
The Fax compression algorithm.
This property allows a choice of which compression type to use. For details, see TPdfToolsPdf2Image_TiffBitonalCompressionType.
Default: ePdfToolsPdf2Image_TiffBitonalCompressionType_G3
[in,out] | pFaxImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_FaxImageOptions. |
[in] | iCompression | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_FaxImageOptions_SetVerticalResolution | ( | TPdfToolsPdf2Image_FaxImageOptions * | pFaxImageOptions, |
TPdfToolsPdf2Image_FaxVerticalResolution | iVerticalResolution ) |
The vertical image resolution.
This property allows a choice of which vertical resolution to use. For details, see TPdfToolsPdf2Image_FaxVerticalResolution.
Note that the horizontal resolution is fixed at 204 DPI by the Fax standard.
Default: ePdfToolsPdf2Image_FaxVerticalResolution_Standard
[in,out] | pFaxImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_FaxImageOptions. |
[in] | iVerticalResolution | Set value. |
PDFTOOLS_EXPORT TPdfToolsPdf2Image_ImageOptionsType PDFTOOLS_CALL PdfToolsPdf2Image_ImageOptions_GetType | ( | TPdfToolsPdf2Image_ImageOptions * | pImageOptions | ) |
Get actual derived type of base type TPdfToolsPdf2Image_ImageOptions.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pImageOptions | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT TPdfToolsPdf2Image_ImageSectionMappingType PDFTOOLS_CALL PdfToolsPdf2Image_ImageSectionMapping_GetType | ( | TPdfToolsPdf2Image_ImageSectionMapping * | pImageSectionMapping | ) |
Get actual derived type of base type TPdfToolsPdf2Image_ImageSectionMapping.
This function is invoked prior to downcasting to ascertain the derived object type.
[in,out] | pImageSectionMapping | Acts as a handle to a native object. |
0
in case of an error.0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_JpegImageOptions_GetColorSpace | ( | TPdfToolsPdf2Image_JpegImageOptions * | pJpegImageOptions, |
TPdfToolsPdf2Image_JpegColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space of the image. If NULL
, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_JpegColorSpace_Rgb
[in,out] | pJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_JpegImageOptions. |
[out] | pColorSpace | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_EXPORT int PDFTOOLS_CALL PdfToolsPdf2Image_JpegImageOptions_GetJpegQuality | ( | TPdfToolsPdf2Image_JpegImageOptions * | pJpegImageOptions | ) |
The JPEG quality factor.
Get or set the JPEG compression quality. Valid values are 1, or 100, or in between.
Default: 85
[in,out] | pJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_JpegImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:PDFTOOLS_EXPORT TPdfToolsPdf2Image_JpegImageOptions *PDFTOOLS_CALL PdfToolsPdf2Image_JpegImageOptions_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_JpegImageOptions_SetColorSpace | ( | TPdfToolsPdf2Image_JpegImageOptions * | pJpegImageOptions, |
const TPdfToolsPdf2Image_JpegColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space of the image. If NULL
, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_JpegColorSpace_Rgb
[in,out] | pJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_JpegImageOptions. |
[in] | pColorSpace | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_JpegImageOptions_SetJpegQuality | ( | TPdfToolsPdf2Image_JpegImageOptions * | pJpegImageOptions, |
int | iJpegQuality ) |
The JPEG quality factor.
Get or set the JPEG compression quality. Valid values are 1, or 100, or in between.
Default: 85
[in,out] | pJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_JpegImageOptions. |
[in] | iJpegQuality | Set value. |
PDFTOOLS_EXPORT TPdfToolsPdf2Image_BackgroundType PDFTOOLS_CALL PdfToolsPdf2Image_PngImageOptions_GetBackground | ( | TPdfToolsPdf2Image_PngImageOptions * | pPngImageOptions | ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pPngImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_PngImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT TPdfToolsPdf2Image_PngColorSpace PDFTOOLS_CALL PdfToolsPdf2Image_PngImageOptions_GetColorSpace | ( | TPdfToolsPdf2Image_PngImageOptions * | pPngImageOptions | ) |
The color space of the output image.
Get or set the color space.
Default: ePdfToolsPdf2Image_PngColorSpace_Rgb
[in,out] | pPngImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_PngImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT TPdfToolsPdf2Image_PngImageOptions *PDFTOOLS_CALL PdfToolsPdf2Image_PngImageOptions_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_PngImageOptions_SetBackground | ( | TPdfToolsPdf2Image_PngImageOptions * | pPngImageOptions, |
TPdfToolsPdf2Image_BackgroundType | iBackground ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pPngImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_PngImageOptions. |
[in] | iBackground | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_PngImageOptions_SetColorSpace | ( | TPdfToolsPdf2Image_PngImageOptions * | pPngImageOptions, |
TPdfToolsPdf2Image_PngColorSpace | iColorSpace ) |
The color space of the output image.
Get or set the color space.
Default: ePdfToolsPdf2Image_PngColorSpace_Rgb
[in,out] | pPngImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_PngImageOptions. |
[in] | iColorSpace | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageAtResolution_GetResolution | ( | TPdfToolsPdf2Image_RenderPageAtResolution * | pRenderPageAtResolution, |
TPdfToolsGeomUnits_Resolution * | pResolution ) |
The resolution of the output image Valid values are 0.0, 10000.0 or in between.
[in,out] | pRenderPageAtResolution | Acts as a handle to the native object of type TPdfToolsPdf2Image_RenderPageAtResolution. |
[out] | pResolution | Retrieved value. |
PDFTOOLS_EXPORT TPdfToolsPdf2Image_RenderPageAtResolution *PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageAtResolution_New | ( | const TPdfToolsGeomUnits_Resolution * | pResolution | ) |
[in] | pResolution | The resolution of the output image. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageAtResolution_SetResolution | ( | TPdfToolsPdf2Image_RenderPageAtResolution * | pRenderPageAtResolution, |
const TPdfToolsGeomUnits_Resolution * | pResolution ) |
The resolution of the output image Valid values are 0.0, 10000.0 or in between.
[in,out] | pRenderPageAtResolution | Acts as a handle to the native object of type TPdfToolsPdf2Image_RenderPageAtResolution. |
[in] | pResolution | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageToMaxImageSize_GetSize | ( | TPdfToolsPdf2Image_RenderPageToMaxImageSize * | pRenderPageToMaxImageSize, |
TPdfToolsGeomInt_Size * | pSize ) |
The maximum size of the image in pixels.
Set or get the image size.
The dimensions of size
must be 1 or greater.
[in,out] | pRenderPageToMaxImageSize | Acts as a handle to the native object of type TPdfToolsPdf2Image_RenderPageToMaxImageSize. |
[out] | pSize | Retrieved value. |
size
are smaller than 1. PDFTOOLS_EXPORT TPdfToolsPdf2Image_RenderPageToMaxImageSize *PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageToMaxImageSize_New | ( | const TPdfToolsGeomInt_Size * | pSize | ) |
[in] | pSize | The maximum size of the image in pixels. |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:size
are smaller than 1. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_RenderPageToMaxImageSize_SetSize | ( | TPdfToolsPdf2Image_RenderPageToMaxImageSize * | pRenderPageToMaxImageSize, |
const TPdfToolsGeomInt_Size * | pSize ) |
The maximum size of the image in pixels.
Set or get the image size.
The dimensions of size
must be 1 or greater.
[in,out] | pRenderPageToMaxImageSize | Acts as a handle to the native object of type TPdfToolsPdf2Image_RenderPageToMaxImageSize. |
[in] | pSize | Set value. |
size
are smaller than 1. PDFTOOLS_EXPORT TPdfToolsPdf2Image_BackgroundType PDFTOOLS_CALL PdfToolsPdf2Image_TiffFlateImageOptions_GetBackground | ( | TPdfToolsPdf2Image_TiffFlateImageOptions * | pTiffFlateImageOptions | ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pTiffFlateImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffFlateImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffFlateImageOptions_GetColorSpace | ( | TPdfToolsPdf2Image_TiffFlateImageOptions * | pTiffFlateImageOptions, |
TPdfToolsPdf2Image_ColorSpace * | pColorSpace ) |
The color space of the output image.
If NULL
, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_ColorSpace_Rgb
[in,out] | pTiffFlateImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffFlateImageOptions. |
[out] | pColorSpace | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_EXPORT TPdfToolsPdf2Image_TiffFlateImageOptions *PDFTOOLS_CALL PdfToolsPdf2Image_TiffFlateImageOptions_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffFlateImageOptions_SetBackground | ( | TPdfToolsPdf2Image_TiffFlateImageOptions * | pTiffFlateImageOptions, |
TPdfToolsPdf2Image_BackgroundType | iBackground ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pTiffFlateImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffFlateImageOptions. |
[in] | iBackground | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffFlateImageOptions_SetColorSpace | ( | TPdfToolsPdf2Image_TiffFlateImageOptions * | pTiffFlateImageOptions, |
const TPdfToolsPdf2Image_ColorSpace * | pColorSpace ) |
The color space of the output image.
If NULL
, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_ColorSpace_Rgb
[in,out] | pTiffFlateImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffFlateImageOptions. |
[in] | pColorSpace | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffJpegImageOptions_GetColorSpace | ( | TPdfToolsPdf2Image_TiffJpegImageOptions * | pTiffJpegImageOptions, |
TPdfToolsPdf2Image_JpegColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space. If null, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_JpegColorSpace_Rgb
[in,out] | pTiffJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffJpegImageOptions. |
[out] | pColorSpace | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_EXPORT int PDFTOOLS_CALL PdfToolsPdf2Image_TiffJpegImageOptions_GetJpegQuality | ( | TPdfToolsPdf2Image_TiffJpegImageOptions * | pTiffJpegImageOptions | ) |
The JPEG quality factor.
Get or set the JPEG compression quality. Valid values are 1
, or 100
, or in between.
Default: 85
[in,out] | pTiffJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffJpegImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. Possible error codes:PDFTOOLS_EXPORT TPdfToolsPdf2Image_TiffJpegImageOptions *PDFTOOLS_CALL PdfToolsPdf2Image_TiffJpegImageOptions_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffJpegImageOptions_SetColorSpace | ( | TPdfToolsPdf2Image_TiffJpegImageOptions * | pTiffJpegImageOptions, |
const TPdfToolsPdf2Image_JpegColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space. If null, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_JpegColorSpace_Rgb
[in,out] | pTiffJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffJpegImageOptions. |
[in] | pColorSpace | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffJpegImageOptions_SetJpegQuality | ( | TPdfToolsPdf2Image_TiffJpegImageOptions * | pTiffJpegImageOptions, |
int | iJpegQuality ) |
The JPEG quality factor.
Get or set the JPEG compression quality. Valid values are 1
, or 100
, or in between.
Default: 85
[in,out] | pTiffJpegImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffJpegImageOptions. |
[in] | iJpegQuality | Set value. |
PDFTOOLS_EXPORT TPdfToolsPdf2Image_BackgroundType PDFTOOLS_CALL PdfToolsPdf2Image_TiffLzwImageOptions_GetBackground | ( | TPdfToolsPdf2Image_TiffLzwImageOptions * | pTiffLzwImageOptions | ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pTiffLzwImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffLzwImageOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffLzwImageOptions_GetColorSpace | ( | TPdfToolsPdf2Image_TiffLzwImageOptions * | pTiffLzwImageOptions, |
TPdfToolsPdf2Image_ColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space. If null, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_ColorSpace_Rgb
[in,out] | pTiffLzwImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffLzwImageOptions. |
[out] | pColorSpace | Retrieved value. |
[out]
argument returns NULL
. To determine if an error has occurred, check the error code as described in the note section below. PDFTOOLS_EXPORT TPdfToolsPdf2Image_TiffLzwImageOptions *PDFTOOLS_CALL PdfToolsPdf2Image_TiffLzwImageOptions_New | ( | void | ) |
NULL
if there is an error.
NULL
was returned. Retrieve specific error code by calling PdfTools_GetLastError. Get the error message with PdfTools_GetLastErrorMessage. PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffLzwImageOptions_SetBackground | ( | TPdfToolsPdf2Image_TiffLzwImageOptions * | pTiffLzwImageOptions, |
TPdfToolsPdf2Image_BackgroundType | iBackground ) |
Combine a background with the image.
This property allows a choice of which background to combine with the image.
Default: ePdfToolsPdf2Image_BackgroundType_White
[in,out] | pTiffLzwImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffLzwImageOptions. |
[in] | iBackground | Set value. |
PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsPdf2Image_TiffLzwImageOptions_SetColorSpace | ( | TPdfToolsPdf2Image_TiffLzwImageOptions * | pTiffLzwImageOptions, |
const TPdfToolsPdf2Image_ColorSpace * | pColorSpace ) |
The color space of the output image.
Get or set the color space. If null, the blending color space of the page is used.
Default: ePdfToolsPdf2Image_ColorSpace_Rgb
[in,out] | pTiffLzwImageOptions | Acts as a handle to the native object of type TPdfToolsPdf2Image_TiffLzwImageOptions. |
[in] | pColorSpace | Set value. |