CssBackground
Overview
CssBackground is a class in Aspose.PDF FOSS for .NET.
The CSS background geometry of one picture in one area: how large it is, where it sits, and how a rounded or spaced repeat reshapes and spreads it.
This class declares 3 methods for CssBackground objects in .NET programs.
Available methods include: Arrange, Position, Size.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
Size(naturalWidth: double?, naturalHeight: double?, sizing: CssBackgroundSizing, width: double?, widthIsPercent: bool, height: double?, heightIsPercent: bool, areaWidth: double, areaHeight: double) | The size of the picture in an area. |
Position(edge: CssBackgroundEdge, offset: double, offsetIsPercent: bool, full: double) | Where the picture sits along an axis full long: the offset from the start edge, the length less the offset from the end edge, or the middle. |
Arrange(tile: CssBackgroundTile, acrossRepeat: CssBackgroundRepeat, upRepeat: CssBackgroundRepeat, widthGiven: bool, heightGiven: bool, area: CssBackgroundTile) | Reshapes and moves the picture for a rounded or spaced repeat, and answers the gap between spaced copies across and up. |