iTextSharp.text.pdf.PdfStream.FlateCompress C# (CSharp) Метод

FlateCompress() публичный Метод

public FlateCompress ( ) : void
Результат void
        public void FlateCompress()
        {
            FlateCompress(DEFAULT_COMPRESSION);
        }

Same methods

PdfStream::FlateCompress ( int compressionLevel ) : void

Usage Example

Пример #1
0
 /**
 * Gets the stream representing this object.
 *
 * @param   compressionLevel    the compressionLevel
 * @return the stream representing this template
 * @since   2.1.3   (replacing the method without param compressionLevel)
 * @throws IOException
 */
 override public PdfStream GetFormXObject(int compressionLevel) {
     PdfStream s = new PdfStream(content.ToByteArray());
     s.Put(PdfName.TYPE, PdfName.XOBJECT);
     s.Put(PdfName.SUBTYPE, PdfName.PS);
     s.FlateCompress(compressionLevel);
     return s;
 }
All Usage Examples Of iTextSharp.text.pdf.PdfStream::FlateCompress