Table of Contents

Class PdfPageResources

Namespace
Syncfusion.Pdf
Assembly
Syncfusion.Pdf.Portable.dll

The class provides methods and properties to access the PDF page resources.

public class PdfPageResources
Inheritance
PdfPageResources
Inherited Members

Constructors

PdfPageResources()

Initializes the new instance of the class PdfPageResources

public PdfPageResources()

Properties

this[string]

Gets or sets the value associated with the key.

public object this[string key] { get; set; }

Parameters

key string

Property Value

object

Resources

Gets the PDF page resources.

public Dictionary<string, object> Resources { get; }

Property Value

Dictionary<string, object>

Methods

Add(string, object)

Adds the resource with the specified name.

public void Add(string resourceName, object resource)

Parameters

resourceName string

Name of the resource

resource object

Resource to add

ContainsKey(string)

Returns if the key already exists.

public bool ContainsKey(string key)

Parameters

key string

Returns

bool

if key present true,else false

isSameFont()

Returns if the FontCollection has same font face.

public bool isSameFont()

Returns

bool

if font present true, else false