Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
If image width or height is set to Auto or null it will be assumed to be equal to original value in pixels.
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
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
Exception | Condition |
---|---|
ArgumentException | if resourceId is null or empty. |
Remarks
See Also