Click or drag to resize
Pdftools logo

Web Class

The optimization profile suitable for electronic document exchange

All colors are converted to RGB. Spider (web capture) information is removed.

Images above 210 DPI are down-sampled and recompressed to 150 DPI. This leads to smaller output files. The property ResolutionDPI has influence on both values.

When an image is recompressed, the Balanced strategy is used; this can be overridden through ImageRecompressionOptions.

With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Optimization.ProfilesProfile
        PdfTools.Optimization.ProfilesWeb

Namespace: PdfTools.Optimization.Profiles
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
public class Web : Profile

The Web type exposes the following members.

Constructors
 NameDescription
Public methodWeb 
Top
Properties
 NameDescription
Public propertyCopyMetadata

Whether to copy metadata

Copy document information dictionary and XMP metadata. Default: .
(Inherited from Profile)
Public propertyFontOptions

The font optimization options


(Inherited from Profile)
Public propertyImageRecompressionOptions

The image recompression options


(Inherited from Profile)
Public propertyRemovalOptions

The parameters defining the optional data to remove or flatten


(Inherited from Profile)
Public propertyResolutionDPI

The target resolution of images in DPI

The target resolution in DPI (dots per inch) for color and grayscale images.

Images with a resolution above ThresholdDPI are down-sampled.

Valid values are in the range 1.0 to 10000.

Set to to deactivate down-sampling of images.

Default: 150.

Public propertyThresholdDPI

The threshold resolution of images in DPI.

The threshold resolution in DPI (dots per inch) to selectively activate downsampling for color and grayscale images.

Valid values are in the range 1.0 to 10000. To deactivate down-sampling of images set ResolutionDPI to .

Default: 1.4 times ResolutionDPI.

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also