Table of Contents

Class PDOptionalContentProperties

Namespace
Org.Apache.Pdfbox.Pdmodel.Graphics.Optionalcontent
Assembly
MASES.NetPDF.dll
public class PDOptionalContentProperties : COSObjectable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICOSObjectable
Inheritance
PDOptionalContentProperties
Implements
Inherited Members

Constructors

PDOptionalContentProperties()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public PDOptionalContentProperties()

PDOptionalContentProperties(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PDOptionalContentProperties(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

PDOptionalContentProperties(COSDictionary)

public PDOptionalContentProperties(COSDictionary arg0)

Parameters

arg0 COSDictionary

COSDictionary

PDOptionalContentProperties(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public PDOptionalContentProperties(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

COSObject

public COSBase COSObject { get; }

Property Value

COSBase

GetBaseState

public PDOptionalContentProperties.BaseState GetBaseState { get; }

Property Value

PDOptionalContentProperties.BaseState

GroupNames

public String[] GroupNames { get; }

Property Value

String[]

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

OptionalContentGroups

public Collection<PDOptionalContentGroup> OptionalContentGroups { get; }

Property Value

Collection<PDOptionalContentGroup>

Methods

AddGroup(PDOptionalContentGroup)

public void AddGroup(PDOptionalContentGroup arg0)

Parameters

arg0 PDOptionalContentGroup

PDOptionalContentGroup

GetGroup(String)

public PDOptionalContentGroup GetGroup(String arg0)

Parameters

arg0 String

String

Returns

PDOptionalContentGroup

PDOptionalContentGroup

HasGroup(String)

public bool HasGroup(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsGroupEnabled(String)

public bool IsGroupEnabled(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsGroupEnabled(PDOptionalContentGroup)

public bool IsGroupEnabled(PDOptionalContentGroup arg0)

Parameters

arg0 PDOptionalContentGroup

PDOptionalContentGroup

Returns

bool

bool

SetBaseState(BaseState)

public void SetBaseState(PDOptionalContentProperties.BaseState arg0)

Parameters

arg0 PDOptionalContentProperties.BaseState

PDOptionalContentProperties.BaseState

SetGroupEnabled(String, bool)

public bool SetGroupEnabled(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Returns

bool

bool

SetGroupEnabled(PDOptionalContentGroup, bool)

public bool SetGroupEnabled(PDOptionalContentGroup arg0, bool arg1)

Parameters

arg0 PDOptionalContentGroup

PDOptionalContentGroup

arg1 bool

bool

Returns

bool

bool