---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/DP
---

# DP

## Overview

`DP` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `Operator`.

DP — Designate marked-content point with property list.

This class provides 7 methods for working with DP objects in .NET programs.
Available methods include: `Accept`, `DP`, `IsTextShowOperator`, `ToPdf`, `ToString`, `ValueEquals`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `CommandName`, `Index`, `Properties`, `Tag`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Tag` | `string` | Read/Write | Gets or sets the tag. |
| `Properties` | `Aspose.Pdf.Facades.BDCProperties?` | Read | Gets the properties. |
| `CommandName` | `string` | Read | The PDF command name (last token of the serialised form, e.g. |
| `Index` | `int` | Read/Write | 1-based position of this operator within its containing OperatorCollection. |

## Methods

| Signature | Description |
|-----------|-------------|
| `DP(tag: string)` | Calls DP on this DP instance. |
| `DP(tag: string, properties: Aspose.Pdf.Facades.BDCProperties)` |  |
| `ToPdf()` | Calls ToPdf on this DP instance. |
| `ToString()` | Calls ToString on this DP instance. |
| `Accept(visitor: IOperatorSelector)` | Calls Accept on this DP instance. |
| `IsTextShowOperator(op: Operator)` | True when op is a text-showing operator (Tj / TJ / ' / " — concrete subclasses of TextShowOperator). |
| `ValueEquals(op: Operator)` | True when this operator's serialised PDF form equals op's. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)