Image Constructor (String, Stream, Int32)

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

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

public Image(
	string resourceId,
	Stream imageStream,
	int frameIndex = 0
)

Parameters

resourceId
Type: SystemString
The id.
imageStream
Type: System.IOStream
Stream with image data.
frameIndex (Optional)
Type: SystemInt32
Index of the frame.
Examples

C#
FixedLayout.Resources.XObjects.Image image = new FixedLayout.Resources.XObjects.Image("Image1", "image.jpg", 0);
document.ResourceManager.RegisterResource(image);
See Also

Reference