Click or drag to resize
Pdftools logo

OptionalContentMembershipDependsOn Method

Checks if the content element depends on a given OCG.

Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
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