PDFCompressorParams class
Parameters for the pdfCompressor
method.
Constructors
- PDFCompressorParams({required String pdfPath, required int imageQuality, required double imageScale, bool unEmbedFonts = false})
-
Create parameters for the
pdfCompressor
method.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageQuality → int
-
Provide pdf page images quality greater than 0 and less tan or equal to 100.
final
- imageScale → double
-
Provide pdf page images scale greater than 0 and less tan or equal to 5.
final
- pdfPath → String
-
Provide path of pdf file which should be compressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unEmbedFonts → bool
-
Provide true to unEmbed all fonts to decrease size further.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited