menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class ImageToPdfConverter

    Represents the image to PDF converter

    Inheritance
    System.Object
    ImageToPdfConverter
    Namespace: Syncfusion.Pdf
    Assembly: Syncfusion.Pdf.Imaging.Portable.dll
    Syntax
    public class ImageToPdfConverter : Object

    Constructors

    ImageToPdfConverter()

    Initializes the new instance of the image to PDF converter class

    Declaration
    public ImageToPdfConverter()

    Properties

    ImagePosition

    Gets or sets the position of the image

    Declaration
    public PdfImagePosition ImagePosition { get; set; }
    Property Value
    Type
    PdfImagePosition

    Margin

    Gets or sets the margin of the PDF page

    Declaration
    public PdfMargins Margin { get; set; }
    Property Value
    Type
    PdfMargins

    PageSize

    Gets or sets the size of the PDF page

    Declaration
    public SizeF PageSize { get; set; }
    Property Value
    Type
    SizeF

    Methods

    Convert(IEnumerable<Stream>)

    Convert images to PDF Document

    Declaration
    public PdfDocument Convert(IEnumerable<Stream> images)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.IO.Stream> images

    Collection of image streams

    Returns
    Type Description
    PdfDocument

    PDF document

    Convert(Stream)

    Convert image to PDF document

    Declaration
    public PdfDocument Convert(Stream image)
    Parameters
    Type Name Description
    System.IO.Stream image

    The image stream

    Returns
    Type Description
    PdfDocument

    PDF document

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved