PdfRpt.FluentInterface.DocumentPreferencesBuilder.BackgroundImage C# (CSharp) Méthode

BackgroundImage() public méthode

Background image's file path and position.
public BackgroundImage ( string backgroundImageFilePath, System position = null ) : void
backgroundImageFilePath string Background image's file path.
position System Background image's position. If it's set to null, the image will be painted at the center of the page.
Résultat void
        public void BackgroundImage(string backgroundImageFilePath, System.Drawing.PointF? position = null)
        {
            _pdfReport.DataBuilder.DefaultBackgroundImageFilePath(backgroundImageFilePath);
            _pdfReport.DataBuilder.DefaultBackgroundImagePosition(position);
        }