Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageResizeOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfPageResizeOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfPageResizeOptionsFluent

Methods

public static PdfPageResizeOptions Margin(PdfPageResizeOptions pdfPageResizeOptions, OfficeLength value) #

Sets PdfPageResizeOptions.Margin: Margin in PDF points kept around fitted content.

Parameters

pdfPageResizeOptions OfficeIMO.Pdf.PdfPageResizeOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPageResizeOptions The same instance.

Examples

// C# initializer or property           // C# fluent
pdfPageResizeOptions.Margin = value;    pdfPageResizeOptions.Margin(value);
public static PdfPageResizeOptions Mode(PdfPageResizeOptions pdfPageResizeOptions, PdfPageResizeMode value) #

Sets PdfPageResizeOptions.Mode: Scaling behavior used for the original page content.

Parameters

pdfPageResizeOptions OfficeIMO.Pdf.PdfPageResizeOptions required
The instance.
value OfficeIMO.Pdf.PdfPageResizeMode required
The value.

Returns

PdfPageResizeOptions The same instance.

Examples

// C# initializer or property         // C# fluent
pdfPageResizeOptions.Mode = value;    pdfPageResizeOptions.Mode(value);
public static PdfPageResizeOptions PageSize(PdfPageResizeOptions pdfPageResizeOptions, PdfPageSize value) #

Sets PdfPageResizeOptions.PageSize: Target page size in PDF points.

Parameters

pdfPageResizeOptions OfficeIMO.Pdf.PdfPageResizeOptions required
The instance.
value OfficeIMO.Pdf.PdfPageSize required
The value.

Returns

PdfPageResizeOptions The same instance.

Examples

// C# initializer or property             // C# fluent
pdfPageResizeOptions.PageSize = value;    pdfPageResizeOptions.PageSize(value);