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.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
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