API Reference

Class

PdfImageDocumentSource

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

One image source used to create a PDF page.

Inheritance

  • Object
  • PdfImageDocumentSource

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public PdfImageDocumentSource(Byte[] bytes, String name = null) #

Creates an image source from an encoded image payload.

Parameters

bytes System.Byte[] requiredposition: 0
name System.String = null optionalposition: 1

Methods

public static PdfImageDocumentSource FromFile(String path) #
Returns: PdfImageDocumentSource

Creates an image source from a file snapshot.

Parameters

path System.String requiredposition: 0
public Byte[] GetBytes() #
Returns: Byte[]

Returns a caller-owned copy of the encoded image payload.

Properties

public String Name { get; } #

Optional source name used as PDF alternate text.