Link Search Menu Expand Document

ImageComposerAddImage Method (String, Int32, Int32, Int32)

Adds an image to the composition.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
public void AddImage(
	string fileName,
	int positionX = 0,
	int positionY = 0,
	int rotationAngle = 0
)

Parameters

fileName
Type: SystemString
Image file path.
positionX (Optional)
Type: SystemInt32
Horizontal (left) position for fixed positioning mode (see CompositionMode). Default is 0.
positionY (Optional)
Type: SystemInt32
Vertical (top) position for fixed positioning mode (see CompositionMode). Default is 0.
rotationAngle (Optional)
Type: SystemInt32
Rotation angle in degrees. Default is 0.
See Also

Reference