Table of Contents

Method GetFileSpecification

Namespace
PdfSharp.Pdf.Attachments
Assembly
PdfSharp.dll

GetFileSpecification(int)

Gets the PDF file specification of the embedded file with the specified index.

public PdfFileSpecification GetFileSpecification(int index)

Parameters

index int

The 0-based index.

Returns

PdfFileSpecification

GetFileSpecification(string)

Gets the PDF file specification of the embedded file with the specified key, or null, if no file with the key exists..

public PdfFileSpecification? GetFileSpecification(string key)

Parameters

key string

The name of the file.

Returns

PdfFileSpecification