Image Constructor (String, String, Boolean, 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,
	bool useTransparency,
	int frameIndex = 0
)

Parameters

resourceId
Type: SystemString
The resource ID.
fileName
Type: SystemString
Name of the file.
useTransparency
Type: SystemBoolean
if set to true [use transparency].
frameIndex (Optional)
Type: SystemInt32
Index of the frame.
Examples

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

Reference