EmbeddedFile Constructor (String, Stream, String, String, String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the EmbeddedFile class.

Namespace:  Apitron.PDF.Kit.FixedLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public EmbeddedFile(
	string fileName,
	Stream data,
	string thumbID,
	string description,
	string mime = "application/octet-stream"
)

Parameters

fileName
Type: SystemString
Name of the file.
data
Type: System.IOStream
The data.
thumbID
Type: SystemString
The thumb identifier.
description
Type: SystemString
The description.
mime (Optional)
Type: SystemString
The MIME.
Exceptions

ExceptionCondition
ArgumentNullExceptionfileName
ArgumentNullExceptionfileName
FileNotFoundExceptionFile was not found
See Also

Reference