Try to compress images(except inline image).

Namespace: Spire.Pdf
Assembly: 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

Boolean
If success, return true; otherwise false.

See Also