Class
PdfInlineImage
OfficeIMO.Pdf
Raster image that flows between text runs as one indivisible inline element.
Inheritance
- PdfInlineElement
- PdfInlineImage
Constructors
PdfInlineImage 3 overloads
public PdfInlineImage(byte[] imageBytes, OfficeLength width, OfficeLength height, string? altText = null, OfficeImageFit fit = Contain, OfficeLength baselineOffset = default) #Creates an inline image from first-party supported image bytes.
Parameters
- imageBytes byte[]
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- altText string? = null
- fit OfficeIMO.Drawing.OfficeImageFit = Contain
- baselineOffset OfficeIMO.OfficeLength = default
public PdfInlineImage(byte[] imageBytes, OfficeLength width, OfficeLength height, PdfImageStyle style, OfficeLength baselineOffset) #Creates an inline image with source crop, rotation, mirrors and alternate text from a reusable image style.
Parameters
- imageBytes byte[]
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- style OfficeIMO.Pdf.PdfImageStyle
- baselineOffset OfficeIMO.OfficeLength
public PdfInlineImage(OfficeDrawing drawing, OfficeLength width, OfficeLength height, string? altText, OfficeLength baselineOffset) #Creates an inline vector drawing, such as a chart or a shape, that flows between text runs like a picture.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- altText string?
- baselineOffset OfficeIMO.OfficeLength
Inherited Methods
Properties
public OfficeImageFit Fit { get; } #Image fitting mode inside the requested inline frame.