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 declares 7 methods for DP objects in .NET programs. Available methods include: Accept, DP, IsTextShowOperator, ToPdf, ToString, ValueEquals. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: CommandName, Index, Properties, PropertiesDictionary, Tag.

Properties

NameTypeAccessDescription
TagstringRead/WriteGets or sets the marked-content tag, without the leading slash.
PropertiesAspose.Pdf.Facades.BDCProperties?ReadGets the property list attached to the point, or null when there is none.
PropertiesDictionarySystem.Collections.Generic.Dictionary<string, object>ReadThe marked-content property list as a name-keyed dictionary (the modelled /MCID, /Lang and /E entries).
CommandNamestringReadThe PDF command name (last token of the serialised form, e.g.
IndexintRead/Write1-based position of this operator within its containing OperatorCollection.

Methods

SignatureDescription
DP(tag: string)Creates a DP operator that marks a single point with the given tag (without the leading slash) and no property list.
DP(tag: string, properties: Aspose.Pdf.Facades.BDCProperties)Creates a DP operator that marks a single point with the given tag (without the leading slash) and property list, such as an MCID or language.
ToPdf()Calls ToPdf on this DP instance.
ToString()Calls ToString on this DP instance.
Accept(visitor: IOperatorSelector)Calls Accept(visitor) 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

 English