XFINIUM.PDF Documentation
ApplyFilter Method (PdfImage)



Xfinium.Pdf.Graphics Namespace > PdfImage Class : ApplyFilter Method
Type of compression to apply
Applies the specified PDF compression filter to image data.
Syntax
'Declaration
 
Public Overridable Sub ApplyFilter( _
   ByVal pdfFilter As PdfFilterType _
) 
'Usage
 
Dim instance As PdfImage
Dim pdfFilter As PdfFilterType
 
instance.ApplyFilter(pdfFilter)
public virtual void ApplyFilter( 
   PdfFilterType pdfFilter
)
public:
virtual void ApplyFilter( 
   PdfFilterType pdfFilter
) 

Parameters

pdfFilter
Type of compression to apply
Remarks
The image data is already compressed so calling this method will compress it again and this might cause an increase in final size.
This method can be called multiple times to chain multiple PDF filters.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfImage Class
PdfImage Members