Try to compress images(except inline image).
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public bool TryCompressImage( int imgIndex )
Public Function TryCompressImage ( imgIndex As Integer ) As Boolean
public: bool TryCompressImage( int imgIndex )
member TryCompressImage : imgIndex : int -> bool
Parameters
- imgIndex
- Int32
Return Value
BooleanIf success, return true; otherwise false.