PdfImageStampOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfImageStampOptions, 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
- PdfImageStampOptionsFluent
Methods
public static PdfImageStampOptions BehindContent(PdfImageStampOptions pdfImageStampOptions, bool value = true) #Sets PdfImageStampOptions.BehindContent: Places the new image content stream before existing page content when true.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { BehindContent = value }; pdfImageStampOptions.BehindContent(value);public static PdfImageStampOptions Height(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value) #Sets PdfImageStampOptions.Height: Physical height of the stamped image. When null, each image pixel contributes one point.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { Height = value }; pdfImageStampOptions.Height(value);public static PdfImageStampOptions MaximumEncodedImageBytes(PdfImageStampOptions pdfImageStampOptions, long value) #Sets PdfImageStampOptions.MaximumEncodedImageBytes: Maximum encoded image bytes accepted for a stamp or watermark. Defaults to 128 MiB.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { MaximumEncodedImageBytes = value }; pdfImageStampOptions.MaximumEncodedImageBytes(value);public static PdfImageStampOptions Opacity(PdfImageStampOptions pdfImageStampOptions, double value) #Sets PdfImageStampOptions.Opacity: Image opacity from 0 through 1, multiplied by any intrinsic image alpha. Defaults to 1.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { Opacity = value }; pdfImageStampOptions.Opacity(value);public static PdfImageStampOptions PageNumbers(PdfImageStampOptions pdfImageStampOptions, int[]? value) #Sets PdfImageStampOptions.PageNumbers: One-based page numbers to stamp. When null or empty, every page is stamped.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value int[]?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { PageNumbers = value }; pdfImageStampOptions.PageNumbers(value);public static PdfImageStampOptions PageRange(PdfImageStampOptions pdfImageStampOptions, int firstPage, int lastPage) #Selects an inclusive one-based page range to stamp.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- firstPage int
- The value.
- lastPage int
- The value.
public static PdfImageStampOptions PageRange(PdfImageStampOptions pdfImageStampOptions, PdfPageRange pageRange) #Selects an inclusive one-based page range to stamp.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- pageRange OfficeIMO.Pdf.PdfPageRange
- The value.
public static PdfImageStampOptions PageRanges(PdfImageStampOptions pdfImageStampOptions, params PdfPageRange[] pageRanges) #Selects inclusive one-based page ranges to stamp. Overlapping ranges are treated as one page selection set in first-seen order.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- pageRanges OfficeIMO.Pdf.PdfPageRange[]
- The value.
public static PdfImageStampOptions RotationDegrees(PdfImageStampOptions pdfImageStampOptions, double value) #Sets PdfImageStampOptions.RotationDegrees: Counter-clockwise image rotation in degrees around the image origin, relative to the displayed page. On a page with /Rotate, an unrotated image stays upright as the page is viewed.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { RotationDegrees = value }; pdfImageStampOptions.RotationDegrees(value);public static PdfImageStampOptions Width(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value) #Sets PdfImageStampOptions.Width: Physical width of the stamped image. When null, each image pixel contributes one point.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { Width = value }; pdfImageStampOptions.Width(value);public static PdfImageStampOptions X(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value) #Sets PdfImageStampOptions.X: Physical X coordinate of the image origin from the unrotated PDF origin. When null, stamps sit 36 points from the lower-left corner of the displayed page and watermarks center in it.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { X = value }; pdfImageStampOptions.X(value);public static PdfImageStampOptions Y(PdfImageStampOptions pdfImageStampOptions, OfficeLength? value) #Sets PdfImageStampOptions.Y: Physical Y coordinate of the image origin from the unrotated PDF origin. When null, stamps sit 36 points from the lower-left corner of the displayed page and watermarks center in it.
Parameters
- pdfImageStampOptions OfficeIMO.Pdf.PdfImageStampOptions
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfImageStampOptions { Y = value }; pdfImageStampOptions.Y(value);