mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
@ -2,37 +2,29 @@ CHAPTER 8. Logos, Watermarks and Stamps
|
||||
|
||||
Cpdf.stampOn(Cpdf.Pdf, Cpdf.Pdf, List{Int32})
|
||||
|
||||
|
||||
Stamps stamp_pdf on top of all the
|
||||
pages in the document which are in the range. The stamp is placed with its
|
||||
origin at the origin of the target document.
|
||||
|
||||
|
||||
Cpdf.stampUnder(Cpdf.Pdf, Cpdf.Pdf, List{Int32})
|
||||
|
||||
|
||||
Stamps stamp_pdf under all the
|
||||
pages in the document which are in the range. The stamp is placed with its
|
||||
origin at the origin of the target document.
|
||||
|
||||
|
||||
Cpdf.stampExtended(Cpdf.Pdf, Cpdf.Pdf, List{Int32}, Boolean, Boolean, Cpdf.Position, Boolean)
|
||||
|
||||
|
||||
A stamping function with extra features. - isover
|
||||
true, pdf goes over pdf2, isover false, pdf goes under pdf2 -
|
||||
scale_stamp_to_fit scales the stamp to fit the page - pos gives the
|
||||
position to put the stamp - relative_to_cropbox: if true, pos is relative
|
||||
to cropbox not mediabox.
|
||||
|
||||
|
||||
Cpdf.combinePages(Cpdf.Pdf, Cpdf.Pdf)
|
||||
|
||||
|
||||
Combines the PDFs page-by-page, putting
|
||||
each page of 'over' over each page of 'under'.
|
||||
|
||||
|
||||
Cpdf.Font
|
||||
|
||||
Standard fonts
|
||||
@ -103,45 +95,33 @@ Right justify
|
||||
|
||||
Cpdf.addText(Boolean, Cpdf.Pdf, List{Int32}, String, Cpdf.Position, Double, Int32, Cpdf.Font, Double, Double, Double, Double, Boolean, Boolean, Boolean, Double, Cpdf.Justification, Boolean, Boolean, String, Double, Boolean)
|
||||
|
||||
|
||||
Adds text to the pages in the given range.
|
||||
|
||||
|
||||
Cpdf.addTextSimple(Cpdf.Pdf, List{Int32}, String, Cpdf.Position, Cpdf.Font, Double)
|
||||
|
||||
|
||||
Adds text with most parameters default.
|
||||
|
||||
|
||||
Cpdf.removeText(Cpdf.Pdf, List{Int32})
|
||||
|
||||
|
||||
Removes any text added by cpdf from the
|
||||
given pages.
|
||||
|
||||
|
||||
Cpdf.textWidth(Cpdf.Font, String)
|
||||
|
||||
|
||||
Returns the width of a given string in the given font in thousandths of a
|
||||
point.
|
||||
|
||||
|
||||
Cpdf.addContent(String, Boolean, Cpdf.Pdf, List{Int32})
|
||||
|
||||
|
||||
Adds page content before (if
|
||||
true) or after (if false) the existing content to pages in the given range
|
||||
in the given PDF.
|
||||
|
||||
|
||||
Cpdf.stampAsXObject(Cpdf.Pdf, List{Int32}, Cpdf.Pdf)
|
||||
|
||||
|
||||
Stamps stamp_pdf onto the pages
|
||||
in the given range in pdf as a shared Form XObject. The name of the
|
||||
newly-created XObject is returned.
|
||||
|
||||
|
||||
Cpdf.dummych9
|
||||
|
||||
|
Reference in New Issue
Block a user