Image Constructor

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

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

public Image(
	string resourceId
)

Parameters

resourceId
Type: SystemString
The resource id.
Remarks

Examples

C#
FlowDocument document = new FlowDocument();
ResourceManager resourceManager = new ResourceManager();
resourceManager.RegisterResource(new FixedLayout.Resources.XObjects.Image("logo", "logo.jpg"));
document.Add(new Image("logo"){ Width = 76, Height = 76 });
See Also

Reference