menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfLoadedSignatureFieldExtension - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfLoadedSignatureFieldExtension

    Represents the extension class for loaded signature field.

    Inheritance
    System.Object
    PdfLoadedSignatureFieldExtension
    Namespace: Syncfusion.Pdf.Interactive
    Assembly: Syncfusion.Pdf.Imaging.Portable.dll
    Syntax
    public static class PdfLoadedSignatureFieldExtension : Object
    Examples
    //Load the existing PDF file.
    FileStream fileStream = new FileStream("input.pdf", FileMode.Open);
    PdfLoadedDocument ldoc = new PdfLoadedDocument(fileStream);
    //Get the existing signed signature field.
    PdfLoadedSignatureField loadedSignature = ldoc.Forms.Fields[0] as PdfLoadedSignatureField;
    //Get the image streams.
    Stream[] imageStreams = loadedSignature.GetImages();
    //Close the PDF document.
    ldoc.Close(true);

    Methods

    GetImages(PdfLoadedSignatureField)

    Returns an array of Stream objects that represent the images associated with the signature field.

    Declaration
    public static Stream[] GetImages(this PdfLoadedSignatureField signatureField)
    Parameters
    Type Name Description
    PdfLoadedSignatureField signatureField

    Signature field to get custom images.

    Returns
    Type Description
    System.IO.Stream[]

    An array of Stream objects that represent the images associated with the signature field.

    Examples
    //Load the existing PDF file.
    FileStream fileStream = new FileStream("input.pdf", FileMode.Open);
    PdfLoadedDocument ldoc = new PdfLoadedDocument(fileStream);
    //Get the existing signed signature field.
    PdfLoadedSignatureField loadedSignature = ldoc.Forms.Fields[0] as PdfLoadedSignatureField;
    //Get the image streams.
    Stream[] imageStreams = loadedSignature.GetImages();
    //Close the PDF document.
    ldoc.Close(true);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved