You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > PdfSetCompressionForBitonalImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfSetCompressionForBitonalImage Method

Changes the compression scheme to use to compress bitonal image data within a PDF. Default is PdfCompressionCCITT4.

C#
public PdfSetCompressionForBitonalImage(
    int PdfID, 
    PdfCompression Compression
);
Visual Basic
Public Sub PdfSetCompressionForBitonalImage(
    ByVal PdfID As Integer, 
    ByVal Compression As PdfCompression
)
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function.  
Compression 
a member of the PdfCompression enumeration 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.