Click or drag to resize
Pdftools logo

ShrinkToPortrait Class

Note: This API is now obsolete.

The image mapping that places the image onto portrait pages of the specified size

Place images onto portrait pages. Large images are scaled down to fit onto PageSize.
Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Image2PdfImageMapping
        PdfTools.Image2PdfShrinkToPortrait

Namespace: PdfTools.Image2Pdf
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
[ObsoleteAttribute("Deprecated in Version 1.1. Use 'ShrinkToFit' instead.")]
public class ShrinkToPortrait : ImageMapping

The ShrinkToPortrait type exposes the following members.

Constructors
 NameDescription
Public methodShrinkToPortrait 
Top
Properties
 NameDescription
Public propertyPageMargin

The page margin

Default value: 20mm (0.79in)
Public propertyPageSize

The page size

All output pages are created as that size and in portrait mode.

Default value: "A4" (210mm 297mm)

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