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

    Show / Hide Table of Contents

    PdfPortfolioColors Class

    Namespace:
    GemBox.Pdf.Portfolios
    Assembly:
    GemBox.Pdf.dll

    Specifies a suggested set of colors for use by a PdfPortfolio layout.

    • C#
    • VB.NET
    public class PdfPortfolioColors : PdfObject
    Public Class PdfPortfolioColors
        Inherits PdfObject
    Inheritance:
    System.Object
    PdfObject
    PdfPortfolioColors

    Properties

    Background

    (Optional; PDF 2.0)A DeviceRGB color used for the background of the view.

    • C#
    • VB.NET
    public PdfColor? Background { get; set; }
    Public Property Background As PdfColor?
    Property Value
    System.Nullable<PdfColor>

    A DeviceRGB color used for the background of the view.

    Exceptions
    System.ArgumentException

    Color with invalid color space specified. Color space must be DeviceRGB.

    CardBackground

    (Optional; PDF 2.0)A DeviceRGB color used for the background of the card.

    • C#
    • VB.NET
    public PdfColor? CardBackground { get; set; }
    Public Property CardBackground As PdfColor?
    Property Value
    System.Nullable<PdfColor>

    A DeviceRGB color used for the background of the card.

    Exceptions
    System.ArgumentException

    Color with invalid color space specified. Color space must be DeviceRGB.

    CardBorder

    (Optional; PDF 2.0)A DeviceRGB color used for the border of the card.

    • C#
    • VB.NET
    public PdfColor? CardBorder { get; set; }
    Public Property CardBorder As PdfColor?
    Property Value
    System.Nullable<PdfColor>

    A DeviceRGB color used for the border of the card.

    Exceptions
    System.ArgumentException

    Color with invalid color space specified. Color space must be DeviceRGB.

    PrimaryText

    (Optional; PDF 2.0)A DeviceRGB color used for the primary text in a navigator.

    • C#
    • VB.NET
    public PdfColor? PrimaryText { get; set; }
    Public Property PrimaryText As PdfColor?
    Property Value
    System.Nullable<PdfColor>

    A DeviceRGB color used for the primary text in a navigator.

    Exceptions
    System.ArgumentException

    Color with invalid color space specified. Color space must be DeviceRGB.

    SecondaryText

    (Optional; PDF 2.0)A DeviceRGB color used for other text in a navigator.

    • C#
    • VB.NET
    public PdfColor? SecondaryText { get; set; }
    Public Property SecondaryText As PdfColor?
    Property Value
    System.Nullable<PdfColor>

    A DeviceRGB color used for other text in a navigator.

    Exceptions
    System.ArgumentException

    Color with invalid color space specified. Color space must be DeviceRGB.

    Inherited Properties

    Metadata

    (Optional; PDF 1.4) A metadata stream containing metadata for the component.

    (Inherited from PdfObject)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.