ClippedContentAppendXObject Method (String, Double, Double)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Appends the XObject using additional parameters.

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

public void AppendXObject(
	string resourceId,
	double xOffset,
	double yOffset
)

Parameters

resourceId
Type: SystemString
The resource id.
xOffset
Type: SystemDouble
The x offset from the current transformation matrix.
yOffset
Type: SystemDouble
The y offset from the current transformation matrix.
Examples

C#
// register our image as a resource
FixedLayout.Resources.XObjects.Image image = new FixedLayout.Resources.XObjects.Image("Image1", "image.jpg");
document.ResourceManager.RegisterResource(image);

// create page
Page page = new Page(new PageBoundary(Boundaries.A4));

// append our XObject
page.Content.AppendXObject("Image1", 50, 50);

// append the page into the document 
page.Content.AppendContent(clippedContent);
document.Pages.Add(page);
See Also

Reference