Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Layers Namespace / OptionalContentProperties Class
Properties Methods

In This Topic
    OptionalContentProperties Class Members
    In This Topic

    The following tables list the members exposed by OptionalContentProperties.

    Public Properties
     NameDescription
    Public PropertyGets the collection of alternate optional content configurations.  
    Public PropertyGets the default optional content configuration.  
    Public PropertyGets the GrapeCity.Documents.Pdf.GcPdfDocument object that owns this object.  
    Public PropertyGets the collection of optional content groups.  
    Public PropertyGets a value indicating whether the Configs collection is not empty.  
    Public PropertyGets a value indicating whether this OptionalContentProperties has DefaultConfig property.  
    Public PropertyGets a value indicating whether the Groups collection is not empty.  
    Public PropertyGets the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    Top
    Public Methods
     NameDescription
    Public MethodAdds a layer with a specified name.  
    Public MethodClears the content of the current object.  
    Public MethodReturns the OptionalContentGroup by its name.  
    Public MethodOverloaded. Returns a value indicating whether a layer is ON by default.  
    Public MethodOverloaded. Returns the export state of a layer.  
    Public MethodOverloaded. Returns the layer initial view state of a layer.  
    Public MethodOverloaded. Returns a value indicating whether a layer is locked.  
    Public MethodOverloaded. Returns the print state of a layer.  
    Public MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodOverloaded. Removes a specified layer. Note that this method does not remove the content associated with the layer. For content removal, see RemoveLayers.  
    Public MethodRemoves specified layers, optionally removing content associated with those layers.  
    Public MethodOverloaded. Sets the default state of a layer.  
    Public MethodOverloaded. Sets the export state of a layer.  
    Public MethodOverloaded. Sets the initial view state of a layer.  
    Public MethodOverloaded. Sets the locked state of a layer.  
    Public MethodOverloaded. Sets the print state of a layer.  
    Top
    See Also