Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfHeaderFooterImage

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Describes a simple image rendered in a page header or footer.

Inheritance

  • object
  • PdfHeaderFooterImage

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 7

Constructors

PdfHeaderFooterImage 3 overloads
public PdfHeaderFooterImage(byte[] data, OfficeLength width, OfficeLength height, string? alternativeText) #

Creates a meaningful header/footer image with alternate text.

Parameters

data byte[] required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
alternativeText string? required
public PdfHeaderFooterImage(byte[] data, OfficeLength width, OfficeLength height, OfficeAlignment align = Left, OfficeImageFit fit = Stretch, string? alternativeText = null) #

Creates a header/footer image.

Parameters

data byte[] required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
align OfficeIMO.OfficeAlignment = Left optional
fit OfficeIMO.Drawing.OfficeImageFit = Stretch optional
alternativeText string? = null optional
public PdfHeaderFooterImage(byte[] data, OfficeLength width, OfficeLength height, OfficeAlignment align, PdfImageStyle style) #

Creates a header/footer image with source crop, rotation, mirrors and alternate text from a reusable style.

Parameters

data byte[] required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
align OfficeIMO.OfficeAlignment required
style OfficeIMO.Pdf.PdfImageStyle required

Properties

public byte[] Data { get; } #

Image payload.

public OfficeLength Width { get; } #

Requested image box width in PDF points.

public OfficeLength Height { get; } #

Requested image box height in PDF points.

public OfficeAlignment Align { get; } #

Horizontal placement inside the page content width.

public OfficeImageFit Fit { get; } #

Image fit behavior inside the requested image box.

public OfficeImageInfo Info { get; } #

Validated image metadata.

public string? AlternativeText { get; } #

Optional alternate text for meaningful header/footer images.