@@ -194,6 +194,7 @@ public virtual int GetPageNumber() {
194194 /// The page number of the signature field which
195195 /// this signature appearance is associated with.
196196 /// </param>
197+ /// <returns>this instance to support fluent interface</returns>
197198 public virtual iText . Signatures . PdfSignatureAppearance SetPageNumber ( int pageNumber ) {
198199 this . page = pageNumber ;
199200 SetPageRect ( pageRect ) ;
@@ -220,6 +221,7 @@ public virtual Rectangle GetPageRect() {
220221 /// The rectangle that represents the position and
221222 /// dimension of the signature field in the page.
222223 /// </param>
224+ /// <returns>this instance to support fluent interface</returns>
223225 public virtual iText . Signatures . PdfSignatureAppearance SetPageRect ( Rectangle pageRect ) {
224226 this . pageRect = new Rectangle ( pageRect ) ;
225227 this . rect = new Rectangle ( pageRect . GetWidth ( ) , pageRect . GetHeight ( ) ) ;
@@ -254,6 +256,7 @@ public virtual PdfSignatureAppearance.RenderingMode GetRenderingMode() {
254256
255257 /// <summary>Sets the rendering mode for this signature.</summary>
256258 /// <param name="renderingMode">the rendering mode</param>
259+ /// <returns>this instance to support fluent interface</returns>
257260 public virtual iText . Signatures . PdfSignatureAppearance SetRenderingMode ( PdfSignatureAppearance . RenderingMode
258261 renderingMode ) {
259262 this . renderingMode = renderingMode ;
@@ -268,13 +271,15 @@ public virtual String GetReason() {
268271
269272 /// <summary>Sets the signing reason.</summary>
270273 /// <param name="reason">signing reason.</param>
274+ /// <returns>this instance to support fluent interface</returns>
271275 public virtual iText . Signatures . PdfSignatureAppearance SetReason ( String reason ) {
272276 this . reason = reason ;
273277 return this ;
274278 }
275279
276280 /// <summary>Sets the caption for the signing reason.</summary>
277281 /// <param name="reasonCaption">A new signing reason caption</param>
282+ /// <returns>this instance to support fluent interface</returns>
278283 public virtual iText . Signatures . PdfSignatureAppearance SetReasonCaption ( String reasonCaption ) {
279284 this . reasonCaption = reasonCaption ;
280285 return this ;
@@ -288,13 +293,15 @@ public virtual String GetLocation() {
288293
289294 /// <summary>Sets the signing location.</summary>
290295 /// <param name="location">A new signing location</param>
296+ /// <returns>this instance to support fluent interface</returns>
291297 public virtual iText . Signatures . PdfSignatureAppearance SetLocation ( String location ) {
292298 this . location = location ;
293299 return this ;
294300 }
295301
296302 /// <summary>Sets the caption for the signing location.</summary>
297303 /// <param name="locationCaption">A new signing location caption</param>
304+ /// <returns>this instance to support fluent interface</returns>
298305 public virtual iText . Signatures . PdfSignatureAppearance SetLocationCaption ( String locationCaption ) {
299306 this . locationCaption = locationCaption ;
300307 return this ;
@@ -308,6 +315,7 @@ public virtual String GetSignatureCreator() {
308315
309316 /// <summary>Sets the name of the application used to create the signature.</summary>
310317 /// <param name="signatureCreator">A new name of the application signing a document</param>
318+ /// <returns>this instance to support fluent interface</returns>
311319 public virtual iText . Signatures . PdfSignatureAppearance SetSignatureCreator ( String signatureCreator ) {
312320 this . signatureCreator = signatureCreator ;
313321 return this ;
@@ -321,6 +329,7 @@ public virtual String GetContact() {
321329
322330 /// <summary>Sets the signing contact.</summary>
323331 /// <param name="contact">A new signing contact</param>
332+ /// <returns>this instance to support fluent interface</returns>
324333 public virtual iText . Signatures . PdfSignatureAppearance SetContact ( String contact ) {
325334 this . contact = contact ;
326335 return this ;
@@ -332,6 +341,7 @@ public virtual iText.Signatures.PdfSignatureAppearance SetContact(String contact
332341 /// This certificate doesn't take part in the actual signing process.
333342 /// </remarks>
334343 /// <param name="signCertificate">the certificate</param>
344+ /// <returns>this instance to support fluent interface</returns>
335345 public virtual iText . Signatures . PdfSignatureAppearance SetCertificate ( X509Certificate signCertificate ) {
336346 this . signCertificate = signCertificate ;
337347 return this ;
@@ -352,13 +362,15 @@ public virtual ImageData GetSignatureGraphic() {
352362 /// <summary>Sets the Image object to render when Render is set to RenderingMode.GRAPHIC or RenderingMode.GRAPHIC_AND_DESCRIPTION.
353363 /// </summary>
354364 /// <param name="signatureGraphic">image rendered. If null the mode is defaulted to RenderingMode.DESCRIPTION</param>
365+ /// <returns>this instance to support fluent interface</returns>
355366 public virtual iText . Signatures . PdfSignatureAppearance SetSignatureGraphic ( ImageData signatureGraphic ) {
356367 this . signatureGraphic = signatureGraphic ;
357368 return this ;
358369 }
359370
360371 /// <summary>Indicates that the existing appearances needs to be reused as layer 0.</summary>
361- /// <param name="reuseAppearance"/>
372+ /// <param name="reuseAppearance">is an appearances reusing flag value to set</param>
373+ /// <returns>this instance to support fluent interface</returns>
362374 public virtual iText . Signatures . PdfSignatureAppearance SetReuseAppearance ( bool reuseAppearance ) {
363375 this . reuseAppearance = reuseAppearance ;
364376 return this ;
@@ -373,6 +385,7 @@ public virtual ImageData GetImage() {
373385
374386 /// <summary>Sets the background image for the layer 2.</summary>
375387 /// <param name="image">the background image for the layer 2</param>
388+ /// <returns>this instance to support fluent interface</returns>
376389 public virtual iText . Signatures . PdfSignatureAppearance SetImage ( ImageData image ) {
377390 this . image = image ;
378391 return this ;
@@ -392,6 +405,7 @@ public virtual float GetImageScale() {
392405 /// In any of the cases the image will always be centered. It's zero by default.
393406 /// </remarks>
394407 /// <param name="imageScale">the scaling to be applied to the background image</param>
408+ /// <returns>this instance to support fluent interface</returns>
395409 public virtual iText . Signatures . PdfSignatureAppearance SetImageScale ( float imageScale ) {
396410 this . imageScale = imageScale ;
397411 return this ;
@@ -402,6 +416,7 @@ public virtual iText.Signatures.PdfSignatureAppearance SetImageScale(float image
402416 /// the signature text identifying the signer. If null or not set
403417 /// a standard description will be used
404418 /// </param>
419+ /// <returns>this instance to support fluent interface</returns>
405420 public virtual iText . Signatures . PdfSignatureAppearance SetLayer2Text ( String text ) {
406421 layer2Text = text ;
407422 return this ;
@@ -422,13 +437,15 @@ public virtual PdfFont GetLayer2Font() {
422437 /// <summary>Sets the n2 and n4 layer font.</summary>
423438 /// <remarks>Sets the n2 and n4 layer font. If the font size is zero, auto-fit will be used.</remarks>
424439 /// <param name="layer2Font">the n2 and n4 font</param>
440+ /// <returns>this instance to support fluent interface</returns>
425441 public virtual iText . Signatures . PdfSignatureAppearance SetLayer2Font ( PdfFont layer2Font ) {
426442 this . layer2Font = layer2Font ;
427443 return this ;
428444 }
429445
430446 /// <summary>Sets the n2 and n4 layer font size.</summary>
431447 /// <param name="fontSize">font size</param>
448+ /// <returns>this instance to support fluent interface</returns>
432449 public virtual iText . Signatures . PdfSignatureAppearance SetLayer2FontSize ( float fontSize ) {
433450 this . layer2FontSize = fontSize ;
434451 return this ;
@@ -442,6 +459,7 @@ public virtual float GetLayer2FontSize() {
442459
443460 /// <summary>Sets the n2 and n4 layer font color.</summary>
444461 /// <param name="color">font color</param>
462+ /// <returns>this instance to support fluent interface</returns>
445463 public virtual iText . Signatures . PdfSignatureAppearance SetLayer2FontColor ( Color color ) {
446464 this . layer2FontColor = color ;
447465 return this ;
@@ -460,9 +478,9 @@ public virtual bool IsInvisible() {
460478 }
461479
462480 /// <summary>Constructs appearance (top-level) for a signature.</summary>
463- /// <seealso><a href="http://partners.adobe.com/asn/developer/pdfs/tn/ppkappearances.pdf">PPKAppearances.pdf</a> for further details
464- /// </seealso>
465481 /// <returns>a top-level signature appearance</returns>
482+ /// <seealso><a href="https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/ppkappearances.pdf">
483+ /// * Adobe Pdf Digital Signature Appearances</a> for further details</seealso>
466484 protected internal virtual PdfFormXObject GetAppearance ( ) {
467485 PdfCanvas canvas ;
468486 if ( IsInvisible ( ) ) {
@@ -688,13 +706,15 @@ protected internal virtual DateTime GetSignDate() {
688706
689707 /// <summary>Sets the signature date.</summary>
690708 /// <param name="signDate">A new signature date</param>
709+ /// <returns>this instance to support fluent interface</returns>
691710 protected internal virtual iText . Signatures . PdfSignatureAppearance SetSignDate ( DateTime signDate ) {
692711 this . signDate = signDate ;
693712 return this ;
694713 }
695714
696715 /// <summary>Set the field name of the appearance.</summary>
697716 /// <param name="fieldName">name of the field</param>
717+ /// <returns>this instance to support fluent interface</returns>
698718 protected internal virtual iText . Signatures . PdfSignatureAppearance SetFieldName ( String fieldName ) {
699719 this . fieldName = fieldName ;
700720 return this ;
0 commit comments