GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfBoolean Class

    Namespace:
    GemBox.Pdf.Objects
    Assembly:
    GemBox.Pdf.dll

    Represents PDF logical values of true and false.

    There are only two instances of this type and those are True and False.

    • C#
    • VB.NET
    public sealed class PdfBoolean : PdfBasicValue
    Public NotInheritable Class PdfBoolean
        Inherits PdfBasicValue
    Inheritance:
    System.Object
    PdfBasicObject
    PdfBasicValue
    PdfBoolean

    Properties

    False

    Gets the PdfBoolean instance with logical value false.

    • C#
    • VB.NET
    public static PdfBoolean False { get; }
    Public Shared ReadOnly Property False As PdfBoolean
    Property Value
    PdfBoolean

    The PdfBoolean instance with logical value false.

    ObjectType

    Gets the Boolean value.

    • C#
    • VB.NET
    public override PdfBasicObjectType ObjectType { get; }
    Public Overrides ReadOnly Property ObjectType As PdfBasicObjectType
    Property Value
    PdfBasicObjectType

    The Boolean value.

    Overrides
    PdfBasicObject.ObjectType

    True

    Gets the PdfBoolean instance with logical value true.

    • C#
    • VB.NET
    public static PdfBoolean True { get; }
    Public Shared ReadOnly Property True As PdfBoolean
    Property Value
    PdfBoolean

    The PdfBoolean instance with logical value true.

    Value

    Gets a System.Boolean value of this PdfBoolean instance.

    • C#
    • VB.NET
    public bool Value { get; }
    Public ReadOnly Property Value As Boolean
    Property Value
    System.Boolean

    A System.Boolean value of this PdfBoolean instance.

    Methods

    Equals(Object)

    Determines whether the specified System.Object is equal to this PdfBoolean instance.

    • C#
    • VB.NET
    public override bool Equals(object obj)
    Public Overrides Function Equals(obj As Object) As Boolean
    Parameters
    obj
    System.Object

    The System.Object to compare with this PdfBoolean instance.

    Returns
    System.Boolean

    true if the specified System.Object is equal to this PdfBoolean instance; otherwise, false.

    Overrides
    PdfBasicValue.Equals(Object)

    GetHashCode()

    Returns a hash code for this PdfBoolean instance.

    • C#
    • VB.NET
    public override int GetHashCode()
    Public Overrides Function GetHashCode As Integer
    Returns
    System.Int32

    A hash code for this PdfBoolean instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    PdfBasicValue.GetHashCode()

    ToString()

    Returns a System.String that represents this PdfBoolean instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this PdfBoolean instance.

    Overrides
    PdfBasicObject.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    Inherited Properties

    Null

    Gets the single instance of Null type.

    (Inherited from PdfBasicObject)

    See Also

    PDF Specification ISO 32000-1:2008, section '7.3.2 Boolean Objects'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.