Class PdfFileMend

PdfFileMend class

Represents a class for adding texts and images on the pages of existing PDF document.

public sealed class PdfFileMend : SaveableFacade

Constructors

NameDescription
PdfFileMend()Constructor.
PdfFileMend(Document)Initializes new PdfFileMend object on base of the document.

Properties

NameDescription
Document { get; }Gets the document facade is working on.
IsWordWrap { set; }Sets a bool value that indicates word wrap in AddText methods. If the value is true, the text in FormattedText will word wrap. By defalt, the value is false.
TextPositioningMode { get; set; }Sets or gets text positioning strategy. PositioningMode Default mode is Legacy.
WrapMode { get; set; }Sets or gets word wrapping algorithm. See WordWrapMode and IsWordWrap.

Methods

NameDescription
AddImage(Stream, int, float, float, float, float)Adds image to the specified page of PDF document at specified coordinates.
AddImage(Stream, int[], float, float, float, float)Adds image to the specified pages of PDF document at specified coordinates.
AddImage(string, int, float, float, float, float)Adds image to the specified page of PDF document at specified coordinates.
AddImage(string, int[], float, float, float, float)Adds image to the specified pages of PDF document at specified coordinates.
AddImage(Stream, int, float, float, float, float, CompositingParameters)Adds image to the specified page of PDF document at specified coordinates.
AddImage(Stream, int[], float, float, float, float, CompositingParameters)Adds image to the specified pages of PDF document at specified coordinates.
AddImage(string, int, float, float, float, float, CompositingParameters)Adds image to the specified page of PDF document at specified coordinates.
AddImage(string, int[], float, float, float, float, CompositingParameters)Adds image to the specified pages of PDF document at specified coordinates.
AddText(FormattedText, int, float, float)Not implemented.
AddText(FormattedText, int, float, float, float, float)Not implemented.
AddText(FormattedText, int[], float, float, float, float)Not implemented.
virtual BindPdf(Document)Initializes the facade.
virtual BindPdf(Stream)Initializes the facade.
virtual BindPdf(string)Initializes the facade.
override Close()Closes PdfFileMend object.
Dispose()Disposes the facade.
override Save(Stream)Saves the PDF document to the specified stream.
override Save(string)Saves the PDF document to the specified file.

See Also