cpdf-source/docsplits/dotnetsplits/c17.tex

29 lines
756 B
TeX
Raw Normal View History

2022-03-07 18:16:03 +01:00
CHAPTER 16. Optional Content Groups
Cpdf.startGetOCGList(Cpdf.Pdf)
2022-03-09 13:07:27 +01:00
Begins retrieving optional content group names. The serial number 0..n - 1 is
returned.
2022-03-07 18:16:03 +01:00
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)
2022-03-09 13:07:27 +01:00
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.