PdfPortfolioAttributes Class
The class represents attributes of attached files in the portfolio such as Title,Name,Author..etc
Inheritance
System.Object
PdfPortfolioAttributes
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfPortfolioAttributes : IPdfWrapper
Constructors
PdfPortfolioAttributes()
Initialize the instance of the class PdfPortfolioAttributes
Declaration
public PdfPortfolioAttributes()
Properties
AttributesKey
Gets attribute keys
Declaration
public string[] AttributesKey { get; }
Property Value
Type | Description |
---|---|
System.String[] | The array of attribute keys |
Methods
AddAttributes(String, String)
Add the attributes into portfolio
Declaration
public void AddAttributes(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The attribute key such as name,date,author..etc |
System.String | value | The attribute value |
GetAttributes()
Remove the attributes from the portfolio
Declaration
public PdfPortfolioSchemaCollection GetAttributes()
Returns
Type |
---|
PdfPortfolioSchemaCollection |
RemoveAttributes(String)
Remove the attributes from the portfolio
Declaration
public void RemoveAttributes(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The attribute key |