cpdf-source/dotnetsplits/c19.tex

71 lines
1.7 KiB
TeX
Raw Normal View History

2022-03-07 18:16:03 +01:00
CHAPTER 18. Miscellaneous
Cpdf.draft(Cpdf.Pdf, List{Int32}, Boolean)
2022-03-09 13:07:27 +01:00
Removes images on the given pages, replacing them with crossed boxes if 'boxes'
is true.
2022-03-07 18:16:03 +01:00
Cpdf.removeAllText(Cpdf.Pdf, List{Int32})
2022-03-09 13:07:27 +01:00
Removes all text from the given pages in a given document.
2022-03-07 18:16:03 +01:00
Cpdf.blackText(Cpdf.Pdf, List{Int32})
Blackens all text on the given pages.
Cpdf.blackLines(Cpdf.Pdf, List{Int32})
Blackens all lines on the given pages.
Cpdf.blackFills(Cpdf.Pdf, List{Int32})
Blackens all fills on the given pages.
Cpdf.thinLines(Cpdf.Pdf, List{Int32}, Double)
2022-03-09 13:07:27 +01:00
Thickens every line less than min_thickness to min_thickness. Thickness given
in points.
2022-03-07 18:16:03 +01:00
Cpdf.copyId(Cpdf.Pdf, Cpdf.Pdf)
Copies the /ID from one document to another.
Cpdf.removeId(Cpdf.Pdf)
Removes a document's /ID.
Cpdf.setVersion(Cpdf.Pdf, Int32)
Sets the minor version number of a document.
Cpdf.setFullVersion(Cpdf.Pdf, Int32, Int32)
2022-03-09 13:07:27 +01:00
Sets the full version number of a document.
2022-03-07 18:16:03 +01:00
Cpdf.removeDictEntry(Cpdf.Pdf, String)
2022-03-09 13:07:27 +01:00
Removes any dictionary entry with the given key anywhere in the document.
2022-03-07 18:16:03 +01:00
Cpdf.removeDictEntrySearch(Cpdf.Pdf, String, String)
2022-03-09 13:07:27 +01:00
Removes any dictionary entry with the given key whose value matches the given
search term.
2022-03-07 18:16:03 +01:00
Cpdf.replaceDictEntry(Cpdf.Pdf, String, String)
2022-03-09 13:07:27 +01:00
Replaces the value associated with the given key.
2022-03-07 18:16:03 +01:00
Cpdf.replaceDictEntrySearch(Cpdf.Pdf, String, String, String)
2022-03-09 13:07:27 +01:00
Replaces the value associated with the given key if the existing value matches
the search term.
2022-03-07 18:16:03 +01:00
Cpdf.removeClipping(Cpdf.Pdf, List{Int32})
2022-03-09 13:07:27 +01:00
Removes all clipping from pages in the given range.
2022-03-07 18:16:03 +01:00
Cpdf.getDictEntries(Cpdf.Pdf, String)
2022-03-09 13:07:27 +01:00
Returns a JSON array containing any and all values associated with the given
key, and fills in its length.