Class
PdfHeaderFooterImage
OfficeIMO.Pdf
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
- Method PdfFooterBuilder.EvenPagesImage
- Method PdfFooterBuilder.FirstPageImage
- Method PdfFooterBuilder.Image
- Method PdfHeaderBuilder.EvenPagesImage
- Method PdfHeaderBuilder.FirstPageImage
- Method PdfHeaderBuilder.Image
- Method PdfHeaderFooter.AddImage
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[]
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- alternativeText string?
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[]
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- align OfficeIMO.OfficeAlignment = Left
- fit OfficeIMO.Drawing.OfficeImageFit = Stretch
- alternativeText string? = null
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[]
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- align OfficeIMO.OfficeAlignment
- style OfficeIMO.Pdf.PdfImageStyle
Inherited Methods
Properties
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 string? AlternativeText { get; } #Optional alternate text for meaningful header/footer images.