Click or drag to resize
Pdftools logo

OptionalContentMembershipDependsOn Method

Checks if the content element depends on a given OptionalContentGroup.

Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax
C#
public bool DependsOn(
	OptionalContentGroup ocg
)

Parameters

ocg  OptionalContentGroup
The optional content group to be checked.

Return Value

Boolean
Exceptions
ExceptionCondition
ArgumentNullExceptionif ocg is .
See Also