cpdf-source/docsplits/dotnetsplits/c17.tex
John Whitington 96d6e2472d Cleaning up
2023-04-13 17:07:55 +01:00

29 lines
756 B
TeX

CHAPTER 16. Optional Content Groups
Cpdf.startGetOCGList(Cpdf.Pdf)
Begins retrieving optional content group names. The serial number 0..n - 1 is
returned.
Cpdf.OCGListEntry(Int32)
Retrieves an OCG name, given its serial number 0..n - 1.
Cpdf.endGetOCGList
Ends retrieval of optional content group names.
Cpdf.OCGRename(Cpdf.Pdf, String, String)
Renames an optional content group.
Cpdf.OCGOrderAll(Cpdf.Pdf)
Ensures that every optional content group appears in the OCG order list.
Cpdf.OCGCoalesce(Cpdf.Pdf)
Coalesces optional content groups. For example, if we merge or stamp two files
both with an OCG called "Layer 1", we will have two different optional content
groups. This function will merge the two into a single optional content group.