BackgroundImage Constructor (String, Length, Length)

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

Namespace:  Apitron.PDF.Kit.Styles.Appearance
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public BackgroundImage(
	string resourceId,
	Length width,
	Length height
)

Parameters

resourceId
Type: SystemString
The image resource identifier.
width
Type: Apitron.PDF.Kit.StylesLength
The desired width, if percentage value is used then this dimension will be calculated using corresponding content rect dimension.
height
Type: Apitron.PDF.Kit.StylesLength
The desired height, if percentage value is used then this dimension will be calculated using corresponding content rect dimension.
Exceptions

ExceptionCondition
ArgumentExceptionif resourceId is null or empty.
Remarks

If image width or height is set to Auto or null it will be assumed to be equal to original value in pixels.
See Also

Reference