PdfRpt.FluentInterface.SignedFileBuilder.VisibleSignature C# (CSharp) Method

VisibleSignature() public method

Sets VisibleSignature's info. It can be null.
public VisibleSignature ( string text, bool useLastPageToShowSignature, iTextSharp position, PdfRunDirection runDirection, int pageNumberToShowSignature = 1, string imagePath = null ) : void
text string Sets the signature text identifying the signer.
useLastPageToShowSignature bool If it sets to true, value of the Page property will be ignored.
position iTextSharp Position and dimension of the field in the page.
runDirection PdfRunDirection Possible run direction values, left-to-right or right-to-left
pageNumberToShowSignature int The page to place the field. The fist page is 1.
imagePath string Signature's image. It can be null.
return void
        public void VisibleSignature(string text, bool useLastPageToShowSignature, iTextSharp.text.Rectangle position, PdfRunDirection runDirection, int pageNumberToShowSignature = 1, string imagePath = null)
        {
            _digitalSignature.VisibleSignature = new VisibleSignature
            {
                CustomText = text,
                UseLastPageToShowSignature = useLastPageToShowSignature,
                Position = position,
                RunDirection = runDirection,
                Font = _pdfReport.DataBuilder.PdfFont,
                ImagePath = imagePath,
                PageNumberToShowSignature = pageNumberToShowSignature
            };
        }