Image Constructor (String, String, 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,
	string fileName,
	int frameIndex = 0
)

Parameters

resourceId
Type: SystemString
The id.
fileName
Type: SystemString
Name of the file.
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