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.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
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