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.0.0
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 a threshold of 1.4 times the target resolution are down-sampled.

Valid values are 1.0, or 10000, or in between.

Set to to deactivate down-sampling of images.

Default: 150.

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