Search Results for

    Show / Hide Table of Contents

    Interface IPdfService

    General pdf service

    Namespace: Simplic.DocumentProcessing
    Assembly: Simplic.DocumentProcessing.dll
    Syntax
    public interface IPdfService

    Methods

    | Improve this Doc View Source

    AddEmptyPage(Byte[], Int32)

    Adds an empty page.

    Declaration
    byte[] AddEmptyPage(byte[] pdf, int pageNumber)
    Parameters
    Type Name Description
    System.Byte[] pdf

    Pdf

    System.Int32 pageNumber

    Index of the new page, starting with 1 which will insert an empty page as the first page

    Returns
    Type Description
    System.Byte[]

    The resulting Pdf-blob

    | Improve this Doc View Source

    AddTextAnnotation(Byte[], Int32, PdfAnnotation)

    Adds a text annotation

    Declaration
    byte[] AddTextAnnotation(byte[] pdf, int pageNumber, PdfAnnotation annotation)
    Parameters
    Type Name Description
    System.Byte[] pdf

    Pdf

    System.Int32 pageNumber

    Page number on which the annotation will be placed

    PdfAnnotation annotation

    The annotation which will be added

    Returns
    Type Description
    System.Byte[]

    The modified Pdf-blob

    | Improve this Doc View Source

    GetPageCount(Byte[])

    Get page count

    Declaration
    int GetPageCount(byte[] pdf)
    Parameters
    Type Name Description
    System.Byte[] pdf

    Pdf

    Returns
    Type Description
    System.Int32

    Page count

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx